Consolidate Overlapping Intervals
Asked at JPMorgan · Coding Questions · Difficulty: Medium · Last asked Jun 23, 2026
Given a list of closed intervals, merge every group of overlapping intervals and return the smaller list of disjoint intervals that covers exactly the same points.
Loading the problem…