Codele / Algorithms

Greedy choices

A greedy method always grabs the best-looking option right now. It is fast and easy, and sometimes it is wrong.

Loading the playable lesson…