Approach Summary
Sort intervals by start time. Check each consecutive pair — if any start < previous end, return false.
How to Recognize This Pattern
- "Can one person attend all meetings"
- Sort + single overlap check
Complexity Analysis
Time Complexity
O(n log n)
Space Complexity
O(1)
Tags
Array Sorting