19Practical coding: find the top source IPs in an auth log, then do it again for an unbounded stream with fixed memory.▼mediumNewCrowdStrikePalo Alto NetworksGoogle◆ premiumThe first half is a Counter. The follow-up, an infinite stream and a memory cap, is the actual question: interviewers want a heavy-hitters algorithm and an honest statement of what it guarantees.Open full answer →
31Practical coding: implement a rate limiter for an LLM API that budgets tokens, not requests, then make it work across many gateway nodes.▼mediumNewOpenAIAnthropicAmazon◆ premiumRequests per minute is the wrong unit when one request can cost ten thousand tokens. The interview checks the bucket arithmetic, the unknown output length, and what happens when two gateway nodes share one budget.Open full answer →