Functions & Recursion

Recursion & Call Stack Execution

Understand functions that call themselves, base conditions, and memory call stack execution.

1. What is Recursion? Recursion is when a function calls ITSELF repeatedly to solve smaller sub-problems.

Must have a Base Case (stopping rule) to prevent infinite stack overflow!