435. Non-overlapping Intervals
Given an array of intervals intervals
where intervals[i] = [starti, endi]
, return the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping.
Example 1:
Example 2:
Example 3:
Constraints:
intervals.length
<= 105intervals[i].length
== 2starti
< endi
<= 5 * 104MarsgoatJul 19, 2023
Yen-Chi ChenWed, Jul 19, 2023