Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

Greedy choice

The option that looks best right now, taken at each step of a greedy algorithm. For the cupping room, it is the booking that ends first.

Where the book teaches it

Related terms

Greedy algorithmSwap argument