โ† Accolite questions

Design a data structure for server requests with time window

Filed under Accolite

The question

Design a data structure for a server that receives requests at various timestamps and needs to efficiently return requests from the last 60 seconds (maintaining a time window without relying on deletion of old elements if possible).

No write-up yet. Related questions below have one.

Related Accolite questions

Collected from public candidate posts and coding forums. Updated Nov 2026.