Challenge 2: Pascal's Triangle
Given a number, return a list containing the values of the Pascal's Triangle of that size.
We'll cover the following
Problem Statement
Implement a function that takes a number testVariable
and returns that row of the Pascal’s triangle.
What is Pascal’s Triangle?
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.