Merge Intervals 2014.2.26 21:28 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]. Solution: The problem didn't guarantee that the set of intervals is sorted, so…