Netflix logoNetflix
Coding·60 minMembers

Merge Intervals

Members only

Merge all overlapping intervals and return the non-overlapping cover; touching endpoints (e.g. [1,2] and [2,3]) count as overlapping.

SWE
interval
sorting
array
medium
Frequency
Single report
Last asked
2026-03-03
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...