Skip to content

Glossary: Coding Interviews in JavaScript

Interval

Also written: intervals

A range with a start and an end, stored as `[start, end]`. Two overlap when the second starts before the first ends.

Where the book teaches it

Related terms

Merge intervals