Non-overlapping Intervals (#435)

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.

Company Tags: Amazon

Core Concept: Greedy, Sorting, Intervals

Solve on LeetCode