NewThe Learning module is now liveSee what's new

(This question is a variation of the Hack2Hire question Design Rate Limiter. If you haven't completed that question yet, it is recommended to solve it first.)

Design a rate limiter system that controls the number of requests allowed within specified time windows. The system should support multiple rate-limiting rules simultaneously and determine if a new request should be accepted or rejected based on all active rules.

Stdout
-