Merge Intervals
intervals are pairs of start and end, in any order. Merge every overlapping pair, and return what is left, sorted by start. Intervals that only touch at an end overlap.
intervals are pairs of start and end, in any order. Merge every overlapping pair, and return what is left, sorted by start. Intervals that only touch at an end overlap.