← 返回 meta 的题目列表Interval Overlap
类型:online_judge
Given a set of intervals, find all overlapping intervals and return their overlapping parts as a set. For example, given the intervals [[1,3], [2,4], [5,7]], return a set [[2,3], [5,7]] since [1,3] and [2,4] overlap at [2,3].
Example
Input
([[1,3],[2,4],[5,7]])