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:

Microsoft

Microsoft

Roblox


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid April, 2026

Roblox

Senior

2 part. All test cases should pass

Late February, 2026

Microsoft

Microsoft

Senior

Your account is free and you can post anonymously if you choose.