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: Choosing snacks: greedy is like grabbing the tastiest snack first without thinking ahead; DP is like planning all snacks to get the tastiest total meal.
Choices: [1] -> [2] -> [3] -> [4] -> null Greedy: picks one step at a time -> DP: explores all paths and remembers best results ↑