Intervals appear everywhere: meeting times, booking slots, ranges of numbers. Most interval problems become easy after sorting by start time and sweeping once, such as merging overlapping intervals or inserting a new one. Use this pattern for calendar and scheduling questions. When you need the minimum number of meeting rooms, track end times with a heap or count starts and ends instead of merging.