Implement Fixed-Window Rate Limiter (Global + Per-Endpoint)
Asked at Headway · Coding Questions · Difficulty: Medium
Implement a fixed-window rate limiter applied to all API endpoints.
Loading the problem…
More Headway interview questions
- Fix the Bug in LogEntry Timestamp Parsing (Missing float)
- Count Complete Journeys in a Toll Log
- Hierarchical Endpoint and Global Rate Limiter
- Catch Speeders from Toll Logs
- Obstacle Course Run Analytics (Personal Best, Best-of-Bests, Monte Carlo)
- Two-Team Turn-Based Battle Simulator