Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 207 Bytes

File metadata and controls

10 lines (6 loc) · 207 Bytes

Given a collection of intervals, merge all overlapping intervals.

For example,

Given [1,3],[2,6],[8,10],[15,18],

return [1,6],[8,10],[15,18].

Show Tags Array Sort