Problems / Intervals / Merge Intervals
#131 Medium Time O(n log n) Space O(n) Animated

Merge Intervals

Merge all overlapping intervals.

LeetCode ↗
Approach: Sort & Merge
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps