Merge Intervals
Merge Intervals introduces the sort-then-sweep pattern that is the foundation of nearly every interval problem. It is one of the most common interview questions at major tech companies.
Enable JavaScript for the full StreamPrep guide.