Leetcode 56 Merge Intervals
The key to solve this problem is to sort the array first based on the lower bound of each interval. e.g With this sorted array, we loop through the array once and check each interval to see if it can… Read More »Leetcode 56 Merge Intervals