摘要: 题目: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were in 阅读全文
posted @ 2016-08-30 22:48 wangxiaobao1114 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 题目: 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]. (Hard) 阅读全文
posted @ 2016-08-30 22:42 wangxiaobao1114 阅读(1071) 评论(0) 推荐(0) 编辑