Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 170 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 170 Bytes

56. Merge Intervals

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].