All challenges
Code AnalysisBeginner 60s

Trace: Rate Limit

5 requests in 100ms — allowed?
Starter code
const requests=5;
const windowMs=100;
const limit=3;
console.log(requests>limit?'denied':'allowed')

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle