Design a Concurrent Rate Limiter with Deferred Requests
Design a thread-safe rate limiter with the following requirements:
- Start with a single rate-limit rule, then extend the design to support multiple rules applied simultaneously.
- A rule can be re...
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:
