Mental Model
Greedy picks the best choice now, hoping it leads to the best overall. DP looks at all choices and remembers past results to find the best overall.
Analogy: Imagine choosing snacks from a buffet: greedy grabs the tastiest snack first without thinking ahead, while DP plans the whole meal to get the best combination of snacks.
Choices: 1 -> 2 -> 3 -> 4 -> null Greedy: picks one step at a time -> DP: explores all paths and remembers best scores ↓
