Skip to content

Glossary: Algorithms Beyond the Basics in Go

Interval scheduling

Choosing the most bookings that don't overlap. The greedy rule is to sort by end time and take each booking that fits.

Where the book teaches it

Related terms

Greedy algorithmOverlapSwap argument