Skip to content

Glossary: Algorithms Beyond the Basics

Merging intervals

Also written: merge

Joining overlapping or touching intervals into busy periods by sorting by start time and stretching the last period's end. Alex uses it for the van's delivery windows.

Where the book teaches it

Related terms

IntervalOverlap