Pergunta de entrevista da empresa Charles Schwab

Write an algorithm to plot the pascal triangle