Mental Model
Greedy picks the best choice at each step hoping it leads to the best overall result. Sometimes this works perfectly, but sometimes it misses better solutions that need looking ahead.
Analogy: Imagine choosing snacks from a buffet by always picking the tastiest-looking item first without thinking about what comes next. Sometimes you get the best meal, sometimes you miss a better combination.
Choices: [3] -> [2] -> [5] -> [1] -> null Greedy picks the biggest number at each step.
