The Snowflake phone screen was a one-hour CoderPad exercise in Python, with AI assistance allowed. The task was to build a configurable rate-limiting service, but the interviewer also evaluated requirement clarification, algorithm trade-offs, testing strategy, debugging, time-dependent behavior, and how the design would evolve from a single in-memory instance to a distributed system.
Interview Details
Coding — Multi-Tier Rate Limiting Service
The task was to build a rate-limiting service where different clients could belong to different service tiers, such as:
free
pro
enterprise
free
pro
enterprise
Each tier could have a different rate limit. A client sends requests using an identifier, and the service needs to determine the client's tier and enforce the corresponding limit. Requests exceeding the configured limit should be rejected.
An important requirement was that tier limits could be updated at runtime without restarting the service. The interviewer also clarified that if a client had no valid tier configuration, the implementation should fall back to a global default policy. Either
Unlock Full Details
Create a free account to unlock this interview experience report.