Guides ·
62 System Design Interview Questions, and Who Asks Them
These are the sixty-two questions that come up again and again in system design rounds, grouped by the shape of the system. For each one: what a passing design has to do, the deep dives the interviewer pushes toward, the companies reported to ask it, and the level it fits. Every company fact here comes from candidate reports, coaching guides and company pages we read on October 24, 2026.
How the question gets chosen
You rarely know the question in advance, but it is not random. Many prompts are asked at every level: candidates report Ticketmaster and LeetCode at Meta from E4 to E6, and Bitly on Amazon’s senior list. What changes with the level is the depth expected on the same prompt: a complete design with one deep dive at mid-level, two deep dives at senior, and at staff a reason for choosing where to go deep. Some questions do lean one way. Platforms such as object storage, a message queue or a key-value store across regions show up mostly in staff rounds.
Then the company. In the reports we read in October 2026, Meta interviewers drew from a short list that candidates name again and again: LeetCode, an ad click aggregator, a leaderboard, ticket booking. Amazon interviewers were said to pick a problem from their own team’s work. At the AI labs, inference and GPU scheduling questions were showing up beside the classics. Startups tie the question to whatever the team builds.
Why a memorised answer fails
The interviewer is not checking whether you know the answer. They are watching how you get there: whether you asked before you drew, whether a number changed a decision, whether you named the bottleneck before the fix. A memorised design skips all three, and it shows.
It shows in the order of things. A candidate who says "I’ll add Kafka here" before saying what problem Kafka solves reads as someone reciting. Interviewers who write about the round name this as a top red flag: technologies listed without being understood. Coaching guides on Google, read in October 2026, say its interviewers have grown wary of rehearsed frameworks and push for first principles instead.
It also breaks when the question moves. Interviewers change something partway through on purpose: a hundred times the users, a node that dies, a new rule from the product team. A memorised answer has nowhere to go. A design you reasoned out does: you change the part the new rule touches and say what changed.
So use the list below to learn the shapes, not the answers. Most of these sixty-two are a few patterns in different clothes: a read-heavy service with a cache, a write path that must never double-count, a fan-out problem, a contested resource. Know what makes each shape hard, and you can reason through the one in front of you. For how the 45 minutes run and what the interviewer notes at each stage, read what the interviewer writes down.
Messaging and notifications
How would you design WhatsApp?
Chats of two to 100 people, delivery to offline phones for 30 days, and under 500 ms to anyone online. Hello Interview sizes it at 200 million active users and about 40,000 messages a second.
- Deep dives:
- Routing a message between chat servers, one person on several devices, spotting dead connections and messages that arrive out of order.
- Asked at:
- Meta, Amazon and Uber.
- Fits:
- Mid-level, Senior and Staff.
How would you design a notification system?
Push, text and email, sent by other services or on a schedule, with opt-outs and templates. Alex Xu’s book sizes it at 10 million pushes, 1 million texts and 5 million emails a day.
- Deep dives:
- At-least-once delivery with a log and a retry queue, dropping duplicates by event id, limits per user and priority.
- Asked at:
- Amazon.
- Fits:
- Mid-level and Senior.
How would you design Snapchat messaging?
A chat design where messages and photos delete themselves once seen. The hard part is making sure the copy is gone everywhere, not only on the phone.
- Deep dives:
- Deleting from every replica and the CDN, screenshot notices and converting media for each device.
- Asked at:
- No company named in the reports we read.
- Fits:
- Senior.
Storage, files and links
How would you design Dropbox?
Upload, download, share and sync files up to 50 GB across devices. A file service keeps the metadata, and the bytes go straight to object storage through signed URLs.
- Deep dives:
- Chunked uploads that resume, syncing only the blocks that changed, two devices editing the same file and keeping signed URLs safe.
- Asked at:
- Google, Meta and Dropbox.
- Fits:
- Mid-level and Senior.
How would you design S3?
Buckets, put and get, versions, multipart upload and listing, at about 100 PB a year with six nines of durability. Metadata and data take separate paths.
- Deep dives:
- Copies or erasure coding, when a write counts as done, checksums that catch silent corruption and cleaning up deleted data.
- Asked at:
- Meta.
- Fits:
- Staff.
How would you store photos so identical files are kept once?
Fingerprint each upload, keep one copy of each file, and delete it only when nothing points to it any more.
- Deep dives:
- Reference counts or mark and sweep and an upload and a delete racing on the same file.
- Asked at:
- OpenAI.
- Fits:
- Senior.
How would you design Bitly?
Short codes that never collide and redirects in under 100 ms. With about a thousand reads for each write, the read path decides the design.
- Deep dives:
- Making the code: a hash or a counter, 301 or 302 redirects, caching reads and handing out counter ranges across regions.
- Asked at:
- Google, Amazon and Uber.
- Fits:
- Mid-level and Senior.
How would you design Pastebin?
Bitly’s shape with a body: the text goes to blob storage, the details to a database, and each paste expires on time.
- Deep dives:
- Expiry, where the text lives and caching reads.
- Asked at:
- BojaleLabs.
- Fits:
- Mid-level.
Search and autocomplete
How would you design search autocomplete?
The top five to ten suggestions for each prefix, in tens of milliseconds. Alex Xu sizes it at 24,000 queries a second and 48,000 at the peak.
- Deep dives:
- A prefix tree with the top results kept at each node, rebuilding it offline or updating it live, sharding by prefix and filtering offensive suggestions.
- Asked at:
- Meta and Google.
- Fits:
- Mid-level and Senior.
How would you design a web crawler?
Crawl a billion pages a month from a set of seed URLs, about 400 pages a second, without hammering any one site.
- Deep dives:
- Politeness and priority in the list of URLs to fetch, duplicate pages, spider traps and recovering when a crawler dies.
- Asked at:
- Meta, Anthropic and Uber.
- Fits:
- Senior.
How would you design a distributed denylist?
Check a URL, user or IP against a large list that changes often, quickly, from every region.
- Deep dives:
- Bloom filters and their false positives, spreading updates and removing an entry.
- Asked at:
- Google and LinkedIn.
- Fits:
- Senior.
Maps and location
How would you design Uber?
Fare estimates, ride requests, and a nearby driver matched within a minute, and never one driver with two rides. About 10 million drivers send their location every five seconds.
- Deep dives:
- Storing and searching locations, stopping a double assignment, a surge of requests from one place and a driver who never answers.
- Asked at:
- Amazon, Meta and Uber.
- Fits:
- Senior.
How would you design Yelp?
Find businesses within a radius and show their details. It is mostly reads: Alex Xu has 200 million businesses and about 5,000 searches a second.
- Deep dives:
- Geohash or quadtree, results near the edge of a cell and widening the radius.
- Asked at:
- Yelp and Uber.
- Fits:
- Mid-level.
How would you design Google Maps?
Location updates, routes with an arrival time, and map tiles, for a billion daily users. Alex Xu sizes the peak at about a million location updates a second.
- Deep dives:
- Finding a route over tiles of the road graph, rerouting around an accident and storing map tiles for each zoom level.
- Asked at:
- No company named in the reports we read.
- Fits:
- Staff.
How would you design nearby friends?
Show friends within a few kilometres and keep it live. Each last location expires, and only friends hear about a move.
- Deep dives:
- A channel per user, sending each update to the right friends and privacy.
- Asked at:
- No company named in the reports we read.
- Fits:
- Senior.
How would you design a local delivery service?
Orders, courier assignment and live tracking. Hello Interview rates it easy.
- Deep dives:
- Assigning a courier, arrival estimates and streams of courier locations.
- Asked at:
- Meta, of engineering and program managers, and Deliveroo, of machine learning engineers.
- Fits:
- Mid-level.
Payments and ledgers
How would you design a payment system?
Take money from buyers, pay sellers, and keep a double-entry ledger. Alex Xu’s version runs at only 10 transactions a second: being right matters more than being fast.
- Deep dives:
- Idempotency keys from the client to the payment provider, retries and a dead-letter queue, webhooks from a slow provider and nightly reconciliation.
- Asked at:
- Stripe, OpenAI and Airbnb.
- Fits:
- Senior and Staff.
How would you design real-time fraud detection?
Approve, block or send to review every card payment before it is authorized. Stripe Radar decides in under 100 ms, and only about 1 payment in 1,000 is fraud.
- Deep dives:
- Scoring inside the time budget, counts that stay fresh, labels that arrive months later and shipping a rule without blocking good customers.
- Asked at:
- PayPal and Stripe, of machine learning engineers, and Affirm and Palantir.
- Fits:
- Senior and Staff.
How would you design a digital wallet?
Move money between wallets and show balances, with strong consistency. Every balance has to be rebuilt exactly from its history.
- Deep dives:
- Sharded balances with distributed transactions, or an event log and replaying history.
- Asked at:
- No company named in the reports we read.
- Fits:
- Staff.
How would you design Robinhood?
Quotes, market and limit orders, and positions, with each order filled on an outside exchange.
- Deep dives:
- The life of an order, sending an order exactly once and streaming live prices.
- Asked at:
- Robinhood.
- Fits:
- Senior and Staff.
Practise the round you have coming up
Start with a 45-minute system design interview, a 20-minute design sprint or a 5-minute numbers drill. Get feedback from an AI interviewer on what to try next.
Practise the system design interviewStreaming and media
How would you design YouTube?
Upload, convert and stream video. Alex Xu has about 150 TB of new video a day, so storage and CDN cost shape the design.
- Deep dives:
- Resumable uploads in parallel, the conversion pipeline, adaptive bitrate and CDN cost.
- Asked at:
- Amazon, Google and Uber.
- Fits:
- Mid-level and Senior.
How would you design a top songs widget?
The most played songs over the last hour or the last seven days, from a stream of plays. Exact for short windows, close enough for long ones.
- Deep dives:
- Exact or approximate counts, sliding windows, plays that arrive late and one song everyone plays.
- Asked at:
- Meta.
- Fits:
- Senior.
How would you design Twitch?
Live video with chat, a few seconds behind real time, and a way to find streams.
- Deep dives:
- Taking in and cutting up the stream, the CDN and chat for a big channel.
- Asked at:
- Uber.
- Fits:
- Senior.
Shopping, tickets and booking
How would you design Ticketmaster?
View events, search and book seats. Browsing stays up, and no seat is ever sold twice, while 10 million people try for one event.
- Deep dives:
- Holding a seat during checkout, a virtual waiting room, search and caching reads.
- Asked at:
- Meta, Google and Amazon.
- Fits:
- Mid-level, Senior and Staff.
How would you design a hotel booking system?
Search by place and date, book a room, and manage inventory. Alex Xu’s numbers are small, about 3 bookings a second, so the hard part is two guests booking the last room.
- Deep dives:
- Races on inventory, reservations that are safe to retry, sharding by hotel and keeping services in step.
- Asked at:
- Airbnb.
- Fits:
- Mid-level and Senior.
How would you design a flash sale?
Sell limited stock to a sudden crowd, fairly, without selling more than you have.
- Deep dives:
- Queueing at the edge, taking stock off in one step and bots.
- Asked at:
- Disney.
- Fits:
- Senior and Staff.
How would you design an online auction?
List items, take bids, close the auction and tell the winner. Bids that land in the same moment decide the design.
- Deep dives:
- Ordering bids that arrive together, closing rules against last-second bids and live bid updates.
- Asked at:
- Meta.
- Fits:
- Senior.
How would you design a price drop tracker?
Track the prices of products people follow, and tell them when a price falls.
- Deep dives:
- Collecting prices politely, noticing a change and sending the alerts.
- Asked at:
- Meta.
- Fits:
- Mid-level.
How would you design Amazon Lockers?
Give a parcel a locker, give the customer a pickup code, and free the locker when the code expires.
- Deep dives:
- Choosing a locker, two parcels claiming one locker and the states a locker moves through.
- Asked at:
- Amazon.
- Fits:
- Mid-level.
Collaboration
How would you design Google Docs?
Many people edit one document at once, see each other’s cursors, and all end up with the same text.
- Deep dives:
- Operational transforms or CRDTs, which server owns a document, snapshots and the log of edits and permissions.
- Asked at:
- Amazon and Meta.
- Fits:
- Staff.
How would you design Google Calendar?
Events, repeats, invites across time zones, free and busy times, and reminders. A weekly meeting that never ends is stored once, as a rule, and drawn on read.
- Deep dives:
- Storing a repeating event and its exceptions, time zones and daylight saving, updating every attendee’s calendar, finding a free slot and reminders that fire once.
- Asked at:
- Google, LinkedIn and Airbnb, and Uber of frontend engineers.
- Fits:
- Mid-level and Senior.
How would you design presence and live cursors?
Show who is online and who has a document open, with every cursor moving live. A phone that drops signal for a few seconds should not flicker offline, and a busy document should not flood every screen.
- Deep dives:
- Heartbeats and when to call someone offline, telling only the people who are watching, throttling and batching cursor moves and hiding your status.
- Asked at:
- Microsoft and Figma.
- Fits:
- Mid-level and Senior.
How would you design a permission system?
Roles, sharing one page or folder, and nested pages that inherit access unless someone overrides it. Every page view needs a check, and Google’s Zanzibar answers 95% of its checks within 10 ms.
- Deep dives:
- Walking up the tree to the nearest override, a removed user who must not see what is added next, groups inside groups and caching checks without a stale yes.
- Asked at:
- Atlassian, Notion and Airtable, and Stripe as authorization across internal services.
- Fits:
- Senior and Staff.
How would you design LeetCode?
Browse problems, submit code, run it against tests in a sandbox, and show the result in seconds, with bursts during contests.
- Deep dives:
- Running untrusted code safely, pushing results or polling, contest traffic and the contest leaderboard.
- Asked at:
- Meta.
- Fits:
- Mid-level and Senior.
How would you design a cloud IDE?
Workspaces in the browser that build and run code, with each customer kept apart from the others.
- Deep dives:
- Isolation, saving workspace state and what fails and how.
- Asked at:
- OpenAI.
- Fits:
- Senior and Staff.
How would you design online chess?
Matchmaking, moves in real time, game state and ratings, with the server as the judge of every move.
- Deep dives:
- The server’s copy of the game, reconnecting players, checking moves and spectators.
- Asked at:
- Meta and OpenAI.
- Fits:
- Mid-level and Senior.
Infrastructure and platform
How would you design a rate limiter?
Limit each client per rule, answer 429 with the right headers, and work across many servers while adding almost no latency.
- Deep dives:
- Token bucket, sliding window and the others, races on the counter, more than one data centre and what happens when the counter store fails.
- Asked at:
- Microsoft and Google.
- Fits:
- Mid-level and Senior.
How would you design login and authentication?
Sign-up, sign-in, staying signed in, password reset and a second factor. One slow password hash takes about 100 ms of CPU, so sign-in needs capacity of its own.
- Deep dives:
- Storing passwords, sessions or signed tokens, everything after forgot password and attacks with leaked passwords.
- Asked at:
- Stripe, Visa, Netflix, Bloomberg, MathWorks and Bridge, and Okta as one sign-in across two domains.
- Fits:
- Mid-level and Senior.
How would you design a distributed cache?
Get and set with an expiry, eviction, and a high hit rate across many nodes.
- Deep dives:
- Consistent hashing and copies, eviction, hot keys and invalidation.
- Asked at:
- Google.
- Fits:
- Senior.
How would you design a distributed key-value store?
Put and get with consistency you can tune, across nodes that fail and come back.
- Deep dives:
- Quorum reads and writes, settling conflicts and adding and removing nodes.
- Asked at:
- Anthropic.
- Fits:
- Senior and Staff.
How would you design a distributed message queue?
Produce and consume messages in order within a partition, keep them for two weeks, and let each consumer choose its delivery guarantee.
- Deep dives:
- Pull or push consumers, leaders and replicas, acknowledgement levels and exactly-once delivery.
- Asked at:
- Amazon.
- Fits:
- Staff.
How would you copy a huge file to thousands of machines, peer to peer?
Send a 500 GB model from one machine to a thousand others on 10 Gbps links. One sender alone takes days, so the machines must pass pieces to each other and finish close to the limit the links allow.
- Deep dives:
- The fastest it could possibly finish, which piece to fetch next, and from whom, corrupted pieces and machines that die and the last slow machines and switching to the new version.
- Asked at:
- Anthropic and Google.
- Fits:
- Senior and Staff.
How would you design a job scheduler?
Run one-off and recurring jobs with retries, priorities and dependencies, each triggered exactly once. OpenAI’s version adds one GPU per task and cancellation.
- Deep dives:
- Triggering a job exactly once, electing a leader and fairness between users.
- Asked at:
- OpenAI, Google and Meta.
- Fits:
- Senior.
How would you design a CI/CD system like GitHub Actions?
A push starts the workflows defined in the repository, jobs wait for a pool of runners, and developers watch the logs live. GitHub’s own system ran 71 million jobs a day in late 2025.
- Deep dives:
- Queueing jobs fairly between tenants, a runner that dies halfway through a job, live logs and build caches and running code from strangers safely.
- Asked at:
- OpenAI and Google.
- Fits:
- Senior and Staff.
How would you design over-the-air updates for a fleet of cars?
Send new software to every car in stages. Each car downloads it over a weak cellular link, checks it is genuine, and falls back to the old version if the new one fails to boot.
- Deep dives:
- Staged rollouts and when to stop one, downloads that resume after a dropped link, full images or only the changes and signing, checking and rolling back on the car.
- Asked at:
- Tesla and Microsoft.
- Fits:
- Mid-level and Senior.
How would you design a webhook delivery system?
Send each event to the URLs customers registered, signed, retried for hours when an endpoint fails, and never dropped. OpenAI’s version runs at up to a billion events a day.
- Deep dives:
- Retries with backoff, and an endpoint that is down for hours, keeping one slow customer from delaying the rest, duplicates and event ids and order and signatures.
- Asked at:
- OpenAI, Snowflake and Babylist.
- Fits:
- Mid-level and Senior.
How would you design metrics monitoring and alerting?
Collect about 10 million metrics, keep them a year, chart them and alert on them. Raw data stays 7 days and is rolled up after.
- Deep dives:
- Push or pull collection, where to aggregate, rolling up and cold storage and alerts that fire once.
- Asked at:
- Google and OpenAI.
- Fits:
- Senior and Staff.
How would you design a game leaderboard?
Update scores, show the top 10 and any player’s rank. Alex Xu’s numbers: 5 million daily players and about 2,500 updates a second at the peak, all in under a gigabyte of memory.
- Deep dives:
- Sharding by score or by player, exact rank at scale, rebuilding after a loss and ties.
- Asked at:
- Meta.
- Fits:
- Mid-level and Senior.
How would you design an ad click aggregator?
Record each click, send the user on, and let advertisers count clicks by the minute. Hello Interview’s numbers: 10,000 clicks a second at the peak, none lost and none counted twice.
- Deep dives:
- One popular ad on one shard, never losing a click, dropping duplicate clicks and queries over months.
- Asked at:
- Meta.
- Fits:
- Senior.
How would you design an ad serving system?
Pick one ad for each slot in a feed: match the targeting, keep to budgets and frequency caps, and answer in about 100 ms. Counting the clicks afterwards is a different question.
- Deep dives:
- Picking an ad inside the time budget, spending a budget evenly across many servers, overspend from late spend events and frequency caps.
- Asked at:
- Netflix, Amazon, OpenAI, Reddit, Google and Spotify.
- Fits:
- Senior and Staff.
How would you make unique IDs across data centres?
IDs of 64 bits that never repeat and sort by time, made on many machines with no central counter. It often comes up inside another question.
- Deep dives:
- Clocks that disagree, how the bits are split and spreading keys with consistent hashing.
- Asked at:
- No company named in the reports we read.
- Fits:
- Mid-level.
How would you design an A/B testing platform?
Give every user a variant that never changes, log who actually saw it, and tell teams which variant won. LinkedIn’s platform makes up to 23 trillion of these choices a day.
- Deep dives:
- Stable assignment by hashing, logging exposures, computing metrics per variant and guardrails and split checks.
- Asked at:
- Affirm, Airbnb, Microsoft and Amazon.
- Fits:
- Senior and Staff.
AI systems
How would you design ChatGPT?
Send a prompt, stream the reply, and come back to old chats. The first word matters more than the last, and GPUs are scarce: Hello Interview sizes the peak at about 20,000 prompts a second.
- Deep dives:
- Streaming tokens and surviving a reconnect, scheduling work across GPUs, fairness between free and paid users and cancelling a reply.
- Asked at:
- OpenAI, Anthropic and Google.
- Fits:
- Senior and Staff.
How would you design an LLM inference batching service?
Group requests into batches of up to 100 on a GPU, with rate limits, retries and a queue that keeps its work when a node dies.
- Deep dives:
- Batch size against latency, priority and fairness, a node that dies and backpressure.
- Asked at:
- Anthropic.
- Fits:
- Senior.
How would you design an LLM gateway?
One service every team calls for models. It routes each call to one of several providers, falls back when one fails, holds each team to its limits and budget, and streams the answer back. Uber’s gateway served 16 million calls a month in 2024.
- Deep dives:
- Routing and fallback between providers, limits and budgets per team, streaming through the gateway and tracking cost per team.
- Asked at:
- GitHub, Moveworks and Decagon.
- Fits:
- Senior and Staff.
How would you design a text-to-video service?
Take long GPU jobs, queue them fairly, and let people cancel, through sudden bursts.
- Deep dives:
- Fair queueing, cancellation and bursts.
- Asked at:
- OpenAI.
- Fits:
- Senior.
How would you design question answering over a company’s documents?
Take in millions of documents, find the right passages, and answer with citations, showing each person only what they may read.
- Deep dives:
- Chunking, sharding the vector index, mixing keyword and vector search, freshness and measuring retrieval.
- Asked at:
- Meta and Microsoft.
- Fits:
- Senior.
How would you design a recommendation system?
This is machine learning system design, often a round of its own: candidate generation, ranking, a feature store and a training pipeline.
- Deep dives:
- Candidate generation and ranking, the feature store and testing a model on live traffic.
- Asked at:
- Netflix and Meta.
- Fits:
- Senior.
How to practise one
Pick one question at your level, set a 45-minute timer, and say every step out loud. Write three things the system must do and three to five targets with numbers before you draw a box. Use one number to choose a component, and say which. Get a working path for every requirement on the board by minute 25. Then go deep in two places, and for each choice say what you gave up.
Then ask someone to push back. A design always looks finished until someone asks what happens at ten times the traffic, or when the database node dies. That is the part you cannot practise alone.
Every question above opens a practice system design interview on Star Interview with that question chosen. Your AI interviewer reads your whiteboard, answers your questions with real numbers, runs two deep dives and changes a constraint partway through. Your report scores the round the way the big loops do and shows the level your design read as.
Preparing for one company? Read the guides to the Meta design round and the Amazon design round.
Pick one of the sixty-two and practise it out loud: the system design interview puts you on a whiteboard with an interviewer who reads what you draw and asks what breaks first.
Practise the round you have coming up
Start with a 45-minute system design interview, a 20-minute design sprint or a 5-minute numbers drill. Get feedback from an AI interviewer on what to try next.
Practise the system design interview
Social feed and timeline
How would you design the Facebook news feed?
Posting, following, and a feed that pages back in time. Reads stay under about 500 ms for two billion users, and a minute of staleness is fine.
- Deep dives:
- Fan-out on write or on read, and the mix for accounts with millions of followers, fan-out workers behind a queue, hot posts in the cache and cursor pagination.
- Asked at:
- Meta.
- Fits:
- Mid-level and Senior.
Practise this oneHow would you design Instagram?
The feed design, plus photo uploads that go straight to blob storage through a signed URL and come back through a CDN. The bytes never pass through your app servers.
- Deep dives:
- The same fan-out choice as the feed, the media pipeline and the Explore page, if the interviewer turns it into ranking.
- Asked at:
- Meta.
- Fits:
- Mid-level and Senior.
Practise this oneHow would you design comments on Facebook Live?
Viewers post comments and see everyone else’s within a second. One video can have millions of viewers, so the hard part is delivery, not storage.
- Deep dives:
- Getting a comment to the servers that hold that video’s viewers, server-sent events or WebSockets, very popular videos and scrolling back through older comments.
- Asked at:
- Meta.
- Fits:
- Senior.
Practise this oneHow would you design search over Facebook posts?
Keyword search over a huge set of posts that changes every second, sorted by recency or engagement, answering in a few hundred milliseconds.
- Deep dives:
- Sharding the index by term or by post, like counts that change after a post is indexed and indexing lag.
- Asked at:
- No company named in the reports we read.
- Fits:
- Senior and Staff.
Practise this one