Mental Model
We solve problems by breaking them down into smaller parts. Recursion tries all ways, greedy picks the best now, and DP remembers past results to avoid repeats.
Analogy: Imagine climbing stairs: recursion tries every path, greedy picks the next step that looks easiest, and DP remembers which steps are best to avoid climbing the same stairs again.
Recursion Tree:
root
/ \
... ...
Greedy Path:
start -> best step -> next best -> ... -> end
DP Table:
Index: 0 1 2 3 4
Value: x x x x x
Memo: x x x x x