Maximum Overlapping Intervals Leetcode Javascript 30