Largest Overlap of Intervals
Medium
Given an array of intervals, determine the maximum number of intervals that overlap at any point. Each interval is half-open, meaning it includes the start point but excludes the end point.
Example:
Input: intervals = [[1, 3], [5, 7], [2, 6], [4, 8]]
Output: 3
Constraints:
-
The input will contain at least one interval.
-
For every index
iin the list,intervals[i].start < intervals[i].end.