Charles Schwab Interview Question

Write an algorithm to plot the pascal triangle