Skip to content

Glossary: Algorithms Beyond the Basics in C++

merging intervals

Also written: merge

Joining overlapping or touching time periods, like Alex's delivery windows, by sorting by start and stretching the last period's end.

Where the book teaches it