正在加载……
← 返回 meta 的题目列表
Merge Intervals
类型:online_judge
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] ]. Example Input [ [1,3], [2,6], [8,10], [15,18] ]