Deviopath › Swift

Merge Intervals

Hard · Algorithms

Overlap or touch (start <= current end) merges. Write merge(_:).

Next: Spiral Matrix