Merge Overlapping Subintervals Leetcode Sql 50