Concept Flow - Recursive functions
Call function with n
Check base case: n == 0?
Yes→Return base value
No
Call function with n-1
Receive result from smaller call
Combine result with current n
Return combined result
↩Back to previous call or end
The function calls itself with a smaller input until it reaches a base case, then returns values back up the call chain.