摘要: 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].思路:开始想用线段树,后来想... 阅读全文
posted @ 2015-04-03 16:07 匡子语 阅读(242) 评论(0) 推荐(0)