Search
⌘K

Leetcode 57. Insert Interval

Insert a given interval into a sorted list of non-overlapping intervals and merge any overlaps so the final list remains sorted and disjoint. The core challenge is to classify intervals as before, overlapping with, or after the new interval and combine overlapping ranges.

Asked at:

Google

Google

Meta

FanDuel


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Early January, 2026

FanDuel

Mid-level

Late April, 2025

Meta

Senior

Early April, 2025

Meta

Senior

Comments

Your account is free and you can post anonymously if you choose.