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 lead to the fastest climb to avoid trying the same paths again.
Recursion Tree:
root
/ \
... ...
Greedy Path:
start -> best choice -> next best -> ... -> end
DP Table:
Index: 0 1 2 3 4
Value: x x x x x
Memo: [check] [check] [check] [check] [check]