Implement a Rate Limiter

Asked at Waymo · Coding Questions · Difficulty: Medium · Last asked Jan 23, 2026

Phone screen with ~10 minutes of behavioral up front, then implement a rate limiter. Interviewer expected the candidate to pick an algorithm (fixed window / sliding window / token bucket), justify the choice, and discuss thread-safety and distributed extensions.

Loading the problem…