AI Coding Challenges
Real coding problems from AI company interviews - rate limiters, retrieval pipelines, retry handlers - with full implementations, key design decisions, and follow-up Q&A.
Each challenge is scoped for a 45-minute coding interview
Mid-Senior
Rate Limiter
Design a thread-safe sliding-window rate limiter with per-user and global call limits using timestamp lists and a threading lock.
Study challengeMid-Senior
RAG Pipeline
Implement a retrieval-augmented generation pipeline: ingest documents, chunk with overlap, embed, and retrieve top-K similar chunks via dot-product similarity.
Study challengeMid-Senior
Retry Handler
Implement a configurable retry handler with exponential backoff, jitter, and a max-delay cap to prevent thundering herds and unbounded blocking.
Study challenge