Mental Model
Greedy picks the best choice now, hoping it leads to the best overall. DP tries all choices carefully and remembers results to find the best overall.
Analogy: Imagine choosing snacks from a buffet: greedy is like grabbing the tastiest snack you see first, while DP is like trying small bites of all snacks and remembering which combination tastes best together.
Choices: [1] -> [2] -> [3] -> [4] -> null Greedy: picks one at a time -> best now DP: explores all paths -> remembers best