Sort by start or end time, then sweep — the key to overlap and scheduling problems.
Problems about ranges — meeting times, event schedules, ranges on a number line — almost always start with sorting the intervals by start (or end) time, then sweeping through them once.
Blind 75 (5):
More from Blind 150 (1):