[leetcode] 435.Non-overlapping Intervals
2016-11-25
阅读 2 分钟
2.7kGiven a collection of intervals, find the minimum number of intervalsyou need to remove to make the rest of the intervals non-overlapping. Example 1: Input: [ [1,2], [2,3], [3,4], [1,3] ]Output: 1Explanation: [1,3] can be removed and the rest of intervals arenon-overlapping.