← 返回 meta 的题目列表Merge Two Sorted Intervals
类型:online_judge
Given two sorted lists of intervals, merge them so that there are no overlapping intervals and return the merged list of intervals. Each interval is represented as a pair of numbers [start, end].
Example
Input
[(1, 3), (5, 8)], [(2, 6)]