Ezvor

3893. Maximum Team Size with Overlapping Intervals

Medium Preparing judge… LeetCode

Hints

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