Pergunta de entrevista da empresa Handshake

Printing out the nth row of pascal's triangle. Web development take home exercise