Create Merge Intervals -- zjuwangk

O(logN)