Pergunta de entrevista da empresa Accenture

pascal triangle coding question in the 2nd round