Leetcode Merge Intervals Solution Definition