4288. Maximum Team Size with Overlapping Intervals

Medium

Description

Hints

Hint 1
Use binary search
Hint 2
For the <code>i<sup>th</sup></code> employee, count the number of employees with start times <= <code>endTime[i]</code> minus the number of employees with end times < <code>startTime[i]</code>

Statistics

Acceptance
49.9%
Submissions
685
Accepted
342