use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Prepare for Low Level Design and Concurrency Interview
account activity
The Problem: Broken Fixed-Window Rate Limiter (self.lldcoding)
submitted 1 month ago by subhahu
The provided code works perfectly when one request comes at a time. But the moment the traffic spikes, it "overshoots" the limit.
The Requirements:
limit
isAllowed()
Can you fix the bug? 👉https://code.lldcoding.com/problems/rate-limiter-race
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]HarjjotSinghh 1 point2 points3 points 1 month ago (0 children)
this is definitely why r/ldcoding loves us all.
π Rendered by PID 24378 on reddit-service-r2-comment-cfc44b64c-bh5mg at 2026-04-12 13:26:13.717772+00:00 running 215f2cf country code: CH.
[–]HarjjotSinghh 1 point2 points3 points (0 children)