...

/

Challenge 2: Pascal's Triangle

Challenge 2: Pascal's Triangle

Given a number, return a list containing the values of the Pascal's Triangle of that size.

Problem Statement

Implement a function that takes a number testVariable and returns that row of the Pascal’s triangle.

What is Pascal’s Triangle?

Pascal’s triangle is a triangular array of ...

...

Access this course and 1400+ top-rated courses and projects.