Problem 56: Merge Intervals Difficulty: Medium Problem Given a collection of intervals, merge all overlapping intervals. Example Given the matrix Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18]. Return [1,2,3,6,9,8,7,4,5]