Solution Review: Factorial

This review provides a detailed analysis of finding the factorial of a number using recursion.

We'll cover the following

Solution

Whenever our function f(n)f(n) will run, f(n)f(n) will call f(nāˆ’1)f(n-1) as long as it is greater than or equal to 1.

Letā€™s look at the illustration to better understand the solution.

Get hands-on with 1400+ tech skills courses.