Search
⌘K
Leetcode 2676. Throttle
Given a sequence of request timestamps (or events) and throttling rules (e.g., at most K requests per time window or a required cooldown between same events), enforce the rate limit by deciding which requests to process, drop, or delay. This requires sliding-window / queue or greedy techniques to count requests in time windows and minimize drops or compute earliest valid processing times under the constraints.
Asked at:
Roblox
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid March, 2026
Roblox
Senior
Late February, 2026
Microsoft
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.