Most Calls at Once
calls has columns start and end, whole minutes with start < end. A call is live from start up to, but not at, end. Return the largest number of calls live at the same moment.
Example 1
calls {"start":[0,5,8,20],"end":[10,9,12,30]}
returns 3
Between minutes 8 and 9 the first three calls are all live.
Constraints
1 <= len(calls) <= 600 <= start < end <= 200
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More pandas problems
- Moving TogetherHard
- Never Top, Never BottomHard
- Second SaleHard
- Teams Side by SideHard
- Three Month TotalsHard
- Winner of Each GroupHard
- Adult NamesBeginner
- Average AgeBeginner