Concept Flow - Recursive functions
Call function with n
Check base case: n == 1?
Yes→Return 1
No
Call function with n-1
Wait for result
Multiply n by result
Return result
Previous call resumes
Final result returned
The function calls itself with a smaller input until it reaches the base case, then returns and combines results back up.