Compute max events in any 60-second window | Marshall Wace
|Home/Coding & Algorithms/Marshall Wace
Compute max events in any 60-second window
Marshall Wace
Aug 13, 2025, 12:00 AM
Software Engineer
Onsite
Coding & Algorithms
0
0
Design a function that, given a non-decreasing list of integer timestamps (seconds), returns the maximum number of events occurring within any contiguous 60-second window (inclusive). Aim for an O(n) time, O(