Concept Flow - Why Recursion Exists and What Loops Cannot Express Cleanly
Start Problem
Is problem simple?
Yes→Return base result
No
Divide problem into smaller parts
Call function recursively on smaller parts
Combine recursive results
Return combined result
End
Recursion breaks a problem into smaller parts, solves each by calling itself, and combines results. Loops can't easily express problems needing repeated self-calls with changing inputs.
