Skip to content

Glossary: Coding Interviews in Go

Interval

Also written: intervals, slot

A range with a start and an end, such as Alex's delivery slot `{540, 570}` for 9:00 to 9:30. Two intervals overlap when the second starts before the first ends.

Where the book teaches it

Related terms

Merge intervals