Maximum Concurrent Calls from Time Intervals

Asked at HubSpot · Coding Questions · Difficulty: Medium

Given a list where each element is a time interval `[start, end]` representing the start and end times of a call (`0 <= start < end`), calculate the maximum number of concurrent calls at any given time. A call ending exactly when another starts is not considered concurrent (half-open `[start, end)`).

Loading the problem…