Challenge 2: Pascal's Triangle
Given a specific row number return a list containing the elements of that row of the Pascal's Triangle.
We'll cover the following...
Problem Statement
Implement a function that takes a number testVariable
and returns the row of the Pascal’s triangle corresponding with that number.
What is Pascal’s Triangle?
Pascal’s Triangle is a triangular array of the binomial coefficients.
To build Pascal’s Triangle we start with 1
at the top, then continue placing numbers below it in a triangular pattern. Each number is ...
By Hersfold on Wikipedia
Access this course and 1400+ top-rated courses and projects.