Mental Model
Greedy means making the best choice right now without worrying about the future. It works only if these choices lead to the best overall result.
Analogy: Imagine picking coins from a table one by one, always taking the biggest coin you see first. This works if the biggest coins add up to the most money, but fails if smaller coins together are worth more.
Coins on table: [5] -> [1] -> [10] -> [2] -> null Greedy picks biggest coin first: Pick 10 -> Remaining: [5] -> [1] -> [2] -> null
