Rate Limiting interview questions
Practice 10 questions on rate limiting. Each runs in a real in-browser editor with Jest tests and a worked, diagram-backed solution.
10 questions
- JavaScriptCoding exercise
Debounce II
MEDIUMExtend debounce with cancel and flush methods to abort or immediately invoke pending calls.
25 minAirbnb · Flipkart · Google +6Practice - JavaScriptCoding exercise
Debounce III
MEDIUMExtend debounce with a maxWait option that forces a call after a maximum delay even under constant activity.
25 minPremium questionPractice - JavaScriptCoding exercise
Limit
MEDIUMImplement a function that wraps a callback so it runs at most N times and returns the last result thereafter.
25 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Progress Bars III
MEDIUMBuild a list of progress bars that fill concurrently with at most three running at the same time.
25 minPremium questionUberPractice - JavaScriptCoding exercise
Rate Limiter
MEDIUMImplement a sliding-window rate limiter that decides which task timestamps fit within the allowed quota.
25 minAnthropic · Stripe · UberPractice - JavaScriptCoding exercise
Throttle
MEDIUMImplement a function that limits how often a wrapped function can be invoked within a time window.
15 minAdobe · Amazon · Atlassian +20Practice - JavaScriptCoding exercise
Throttle II
MEDIUMExtend throttle with cancel and flush methods plus leading and trailing edge options.
25 minPremium questionPractice - JavaScriptCoding exercise
useThrottle
MEDIUMImplement a hook that returns a throttled copy of a value, updating at most once per given interval.
25 minDiscord · Netflix · UberPractice - JavaScriptCoding exercise
Map Async Limit
HARDImplement an async map that processes an array with a bounded number of in-flight tasks.
40 minAdobe · Anthropic · Apple +7Practice - UI / FrameworksUI challenge4 variants
Progress Bars IV
HARDBuild progress bars that fill concurrently up to three at a time, and let the user pause and resume each one.
40 minPremium questionUberPractice