Sliding-Window Rate Limiter
Stripe interview questions · Hard · Coding round · reported 1× · 6 tests
Build a rate limiter for an API gateway that counts each client's calls over a sliding window - fixed time buckets are the classic pitfall, since they allow a double-size burst across a bucket boundary.
The full question, tests and reference solution are available with a plan that includes Stripe.
Run your code with Ctrl+Enter to see results.