Merge Overlapping Subintervals Leetcode Contest