Computer scienceFundamentalsEssentialsProgramming conceptsIntro to programming

Recursion basics

Revelation

Report a typo

Sort the items to show how the recursive factorial function calls itself

Put the items in the correct order
4 * factorial(3)
factorial(4)
4 * 3 * 2 * factorial(1)
4 * 3 * factorial(2)
___

Create a free account to access the full topic