Problems
Contests
Account
Problems
> Peak Occupancy > Editorial
Peak Occupancy — Solution & Editorial
Back to the Problem
Running counter with a maximum tracker.
Complexity:
O(N)
×
Refer Job