System Design Interview Questions

The 20 most-asked system design problems in real onsite loops, ranked by appearance frequency in LeakCode's aggregated interview reports across 20 canonical questions. Each page covers functional requirements, scale estimates, key components, trade-offs, and the common follow-ups that distinguish hire from strong-hire.

Design Twitter
#1

How to design Twitter (X) for ~500M DAU with the fanout-on-write timeline pattern.

Asked at: meta, amazon, google, uber, linkedin
Design Uber
#2

Geospatial matching at scale: how Uber matches 100M+ riders to drivers in under 5 seconds.

Asked at: uber, lyft, doordash, amazon, google
Design TinyURL
#3

The most common system design phone screen. Base62 encoding, key generation, and 100:1 read/write ratio.

Asked at: amazon, google, meta, microsoft, stripe
Design Rate Limiter
#4

Token bucket vs sliding window vs fixed window: which algorithm and how to make it distributed.

Asked at: google, amazon, stripe, cloudflare, uber
Design Parking Lot
#5

The classic OOD/LLD interview question. State machine, allocation strategy, and concurrency in a 1000-spot lot.

Asked at: amazon, google, meta, uber, lyft
Design Instagram
#6

Photo storage, feed generation, Stories TTL, and the read-heavy 100:1 workload.

Asked at: meta, amazon, google, snap, pinterest
Design WhatsApp
#7

End-to-end encryption, message ordering, and presence at 2B-user scale.

Asked at: meta, amazon, google, linkedin, slack
Design Netflix
#8

Adaptive bitrate streaming, global CDN, and the recommendation pipeline.

Asked at: amazon, google, meta, netflix, hulu
Design YouTube
#9

Video upload, transcoding pipeline, and serving 1B+ hours/day.

Asked at: google, amazon, meta, netflix, tiktok
Design Google Search
#10

Inverted index, query understanding, and ranking 100B+ pages in under 200ms.

Asked at: google, amazon, meta, microsoft, linkedin
Design Dropbox
#11

File sync, deduplication, and delta-block uploads across 700M+ users.

Asked at: amazon, google, meta, dropbox, microsoft
Design Typeahead
#12

Trie-based prefix matching, real-time popularity updates, and sub-50ms response.

Asked at: google, amazon, meta, linkedin, doordash
Design Web Crawler
#13

Politeness, dedup, and the URL frontier for crawling 1B+ pages.

Asked at: google, amazon, meta, microsoft, openai
Design Notification System
#14

Multi-channel delivery, dedup, user preferences, and at-least-once guarantees.

Asked at: amazon, google, meta, uber, stripe
Design Distributed Cache
#15

Consistent hashing, replication, eviction, and the thundering herd problem.

Asked at: amazon, google, meta, uber, stripe
Design Pastebin
#16

Write-once read-many, TTL expiration, and similar to URL shortener with body storage.

Asked at: amazon, google, meta, microsoft
Design Stock Exchange
#17

Order matching engine, fairness, and sub-millisecond latency requirements.

Asked at: amazon, google, meta, stripe, robinhood
Design Ride Hailing
#18

Generalized rider-driver matching system. Often a variant of the Uber question.

Asked at: uber, lyft, doordash, amazon
Design Instagram Stories
#19

24-hour TTL, view ordering, and seen-state per viewer for 500M+ DAU.

Asked at: meta, snap, amazon, google
Design Spotify
#20

Audio streaming with low buffering, offline downloads, and the discovery algorithm.

Asked at: amazon, google, meta, spotify, apple

Related: All system design questions · System design round guide · System design preparation