Solution Review: Pascal's Triangle
Solution review to the exercise for recursion and function composition.
We'll cover the following...
Solution
The problem can be solved using either the function composition or recursion. Let’s look at the two approaches individually.
Recursion approach
For this solution, factor out the base cases and recursion cases.
Access this course and 1400+ top-rated courses and projects.