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.
Glossary: Algorithms Beyond the Basics in Go
Choosing the most bookings that don't overlap. The greedy rule is to sort by end time and take each booking that fits.