← All Series
Interview Series

ML System Design Questions

End-to-end systems: recommendation, forecasting, anomaly detection, and production vision. Each answer opens with clarifying questions and closes with an interviewer scorecard.

Clarifying QuestionsCapacity Math45-Min PlaybooksScorecards
153 questions
System Design 119Model Design 34
Real-time pass/fail quality-control line figure

All Questions

IDTitleCompaniesTopicsFormatLevel
MSD0001Real-Time Factory Product Inspection
 You are tasked with designing and deploying a deep learning-based computer vision system for real-time quality control on a high-speed manufacturing assembly
NVIDIA, Google, AmazonCV, Infra, MLOpsSystem DesignHard
MSD0002Image to Video Classification
 You are given a pretrained image classification network, such as ResNet. How would you adapt it to perform video classification, ensuring that both spatial an
Netflix, Apple, WalmartCNN, CV, TransformerModel DesignHard
MSD0003Spam Email Detection
 Design an end-to-end Machine Learning system to effectively detect and filter spam emails in a high-volume email service. Describe how you would design, train
Amazon, NVIDIA, GoogleMetrics, MLOps, NLPSystem DesignHard
MSD0004Long Document Attention Scalability
 The standard Transformer’s self-attention mechanism has a computational and memory complexity of , where is the sequence length. For long document class
Accenture, Apple, NetflixNLP, RNN, TransformerModel DesignHard
MSD0005Surveillance Video Anomaly Detection
 How would you design an end-to-end surveillance system that automatically detects and alerts security personnel to ‘anomalous events’ (e.g., break
DoorDash, GoogleCV, Metrics, SafetySystem DesignHard
MSD0006Video Recommendation SystemGoogle, Meta, AmazonCV, MLOps, RankingSystem DesignHard
MSD0007Demand Forecasting System for Retailer
 Design a demand forecasting system for a large retail company like Costco, Walmart, or Target. The system should predict future product demand across stores a
Walmart, NetflixForecast, MLOps, RankingSystem DesignHard
MSD0008Cancer Cell Segmentation for Digital Pathology
 A digital pathology lab scans tissue biopsies into gigapixel whole-slide images (WSI). Pathologists currently hunt for tumor regions by panning and zooming ac
Apple, QualcommCV, Data Eng, TransformerModel DesignHard
MSD0009Restaurant Recommendation System for Food DeliveryRobinhood, Airbnb, UberMLOps, Ranking, RetrievalSystem DesignHard
MSD0010Grammar Checking Writing Assistant
 You are building a writing-assistance product like Grammarly. As a user types in a browser extension, email client, or mobile keyboard, the system underlines
Grammarly, Meta, AppleMLOps, NLP, SafetySystem DesignHard
MSD0011LLM Evaluation Pipeline
Your team ships an LLM-powered product: a customer-support copilot built on a foundation model API, similar in spirit to how GitHub evaluates models for Copilot
Anthropic, OpenAI, xAILLM, MLOps, NLPSystem DesignMedium
MSD0012Wake-Word Detection
Design a wake-word detection system (e.g., Amazon’s “Alexa” or Apple’s “Hey Siri”) that spots a trigger phrase in a continuo
Amazon, Apple, GoogleMetrics, MLOps, NNSystem DesignHard
MSD0013Machine Translation at Scale
Design a machine translation system for a product like Google Translate: text translation between 100+ language pairs, from high-resource pairs like English-Spa
Oracle, Meta, GoogleLLM, MLOps, NLPSystem DesignHard
MSD0014Music Identification
Design a music identification system like Shazam: a user holds up a phone in a noisy cafe, records a 10-second snippet, and the app names the song within a seco
Apple, Google, AmazonCV, MLOps, RetrievalSystem DesignHard
MSD0015LLM Request Routing
Design the routing layer for an AI assistant that chooses, per request, between a small cheap model and a large expensive one. ChatGPT’s GPT-5 does exactl
DatabricksLLM, MLOps, NLPSystem DesignHard
MSD0016Scanned Document OCR
Design an OCR system that converts millions of scanned documents (contracts, invoices, old books, fax-quality pages) into clean, structured text for a document
Google, Mistral AI, AnthropicCV, LLM, MLOpsSystem DesignHard
MSD0017Meeting Summarization
Design the system behind Zoom AI Companion’s meeting summary: after a 45-minute video meeting, every participant receives a recap, the decisions made, and
Google, Meta, AppleLLM, MLOps, NLPSystem DesignHard
MSD0018Ads Policy Violation Detection
Design an end-to-end ML system to detect ads selling weapons and other policy-violating goods on a large ads platform like Meta or Google Ads. Millions of new a
OpenAI, Meta, GoogleCV, Metrics, VLMSystem DesignHard
MSD0019On-Device Small LLM Polite
Design a small LLM that runs entirely on a phone for a privacy-preserving assistant, in the style of Apple Intelligence’s on-device foundation model or Ge
Google, Meta, AppleLLM, MLOps, NLPModel DesignHard
MSD0020Distributed Training SystemMeta, Anthropic, OpenAIInfra, MLOps, NLPSystem DesignHard

Search all questions → Browse companies →

Unlock the full answers.

Playbooks, deep dives, follow-up probes, and scorecards are member content.

Get Started — It’s Free