Coding Interview
Greedy Algorithms: When the Obvious Choice Is Right
Jason Yang · 03 Aug, 2026
Greedy algorithms are quick to write and often wrong. How to tell when the greedy choice is provably optimal, the exchange argument, and the NeetCode problems.