56. Merge IntervalsMedium
Given an array of
intervals
whereintervals[i] = [start
i
, end
i
]
, merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
- Problem
- Solutions
Given an array of
intervals
whereintervals[i] = [start
i
, end
i
]
, merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.