American Express interview question

how to do a pascal triangle