Title: Combine a system of intervals, such as [1,3],[2,6],[8,10],[15,18] into [1,6],[8,10],[ 15,18]
Difficulty: Medium
Idea: sort the interval intervals according to the start time, and then compare the end time of the current interval and the start time of the next time interval to determine whether the two intervals can be merged.