Non Overlapping Intervals Leetcode Two