Maximum Overlapping Intervals Leetcode Javascript Questions