Coding challenges are back! This time, we’re going live: https://www.youtube.com/watch?v=5G8nn2lE23Y
Update:
Our Challenge this time around is going to be…
Pascal Triangle
For this challenge, you will use some PASCAL to compute each row of a Pascal triangle. This is most certainly the wrong tool for the job, no doubt, but that’s not going to stop us on pascal day.
You may remember the Pascal triangle from your childhood math classes. It starts with a single 1 at the top, then each row after that is built from the previous one, where the first and last number on the row are the first and last number of the previous row, and each number in-between is the sum of the two numbers a little to the right of it, and a little to the left of it, on the previous row. The nth row has n numbers on it. It looks like this: