Mental Model
Greedy makes the locally optimal choice at each step hoping it leads to global optimum. It works if subproblems have optimal substructure where local best builds to global best.
Analogy: Making change for 8 cents with denominations [1,4,5]. Greedy picks largest first: 5 +1+1+1 (4 coins). But optimal is 4+4 (2 coins) - greedy fails because local choice blocks better future combo.
Amount 8, denoms [5,4,1]: Greedy: 8 -5→3 -1→2 -1→1 -1→0 (4 coins) Optimal: 8 -4→4 -4→0 (2 coins)