System design, ML & FDE
interview questions.
530 free worked guides for system design, machine learning, and forward deployed engineering interviews. Practice a prompt, compare the solution, and explain your trade-offs.
From a million possibilities
to a useful recommendation.
Why three stages? Spend computation where it changes the result.
Build your understanding.
Start with a system. Go deeper into the ideas.
ML system design
From the product objective to data, models, serving, and monitoring.
ML fundamentals
Models, evaluation, embeddings, and the foundations of reliable ML.
System design
APIs, storage, distributed systems, and the trade-offs that connect them.
FDE interviews
Customer discovery, AI integration, production debugging, and delivery decisions.
Explore worked interview questions.
More problems. More decisions to practice.
Contain prompt injection in a tool-using research agent
A research agent reads public pages and can save notes to an internal workspace. A retrieved page tells it to upload private files. Design the boundary that prevents this instruction from becoming an authorized action.
Stop an agent that repeats actions without making progress
An agent alternates between searching and reopening the same documents. Design termination controls that bound cost while still allowing useful retries.
Design tenant-isolated LLM prefix caching
A hosted model repeatedly processes shared instructions and private customer documents. Design a prefix cache that saves prefill work without reusing incompatible or unauthorized state.
Admit LLM requests using a KV-cache memory budget
A model fits on a GPU but long concurrent requests cause out-of-memory failures during decoding. Design admission control around growing attention key/value state.
Compute useful facet counts without leaking hidden results
A product search offers brand, size and color filters. Design facet counts that show useful alternatives while respecting visibility rules and remaining consistent with the result list.
Detect when a speaker has finished their turn
A voice assistant interrupts users during pauses yet feels slow after short commands. Design endpointing that decides when to respond, rather than merely whether speech is present.
Stop streaming speech cleanly when the user interrupts
A voice assistant generates text and speech ahead of playback. Design barge-in so an interruption stops old audio and prevents late chunks from leaking into the next response.
Split a hot key range without creating two write owners
A range-partitioned store has one overloaded partition while other servers are idle. Design an online split that preserves acknowledged writes and routes stale clients safely.
Diagnose a customer proxy that buffers streaming responses
A customer’s AI response arrives all at once after twenty seconds, although direct access streams smoothly. Investigate the proxy path and propose a measurable fix.
Enforce tenant row security in an embedded analytics dashboard
A customer embeds a dashboard in its portal. Changing a browser filter reveals another tenant’s totals. Design a server-enforced fix and a rollout that proves isolation.
A good place to begin.
530 guides. Four tracks. Start with these six.
Design a video recommendation system
Objectives, data, retrieval, ranking, and production trade-offs.
Fraud Detection System Design: Models, Decisions and Review
Design payment fraud detection with time-correct features, delayed labels, calibrated decisions and bounded review queues. Includes capacity and failure examples.
Design a document question-answering system
Retrieve authorized evidence, generate supported answers, and evaluate what citations actually prove.
Design a distributed rate limiter
Token buckets, atomic decisions, hot keys, and regional budgets.
Design a chat system
Separate durable messages from connections, and reason about ordering, retries, and offline delivery.
How do you know a recommendation is good?
Worked examples for retrieval, ranking, and product evaluation.