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?
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.