Merge Intervals - Coddicted

Merge Intervals

Title: Merge Intervals Source: leetcode.com

Given a collection of intervals, merge all overlapping intervals.

For example,
Given [1,3],[2,6],[8,10],[15,18],
return [1,6],[8,10],[15,18].

Java solution


Back To Top
Rate this post

Leave a Reply