Implement a Rate Limiter (with follow-up)

Problem: Implement a Rate Limiter (with follow-up)

Design and implement a Rate Limiter that controls the rate at which requests are allowed.

Core requirement

Given a rule: within any con...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: