🎉 All 30 days are live — the full DSA-30 course, from Big-O to System Design. See the roadmap →
Day 28 - System Design 101Practice QuestionsOverview

System Design Practice Questions

Eight prompts that show up again and again in real interviews. Each one is worked through the same 6-step framework — and each one highlights one or two building blocks so you build a library of reusable moves: rate limiting, fan-out, the long-poll/WebSocket choice, consistent hashing, idempotency, and more.

Before reading any solution, force yourself through the framework out loud:

  1. Requirements — functional (2–3 core features) + non-functional (scale, latency, consistency).
  2. Estimate — QPS, storage, bandwidth (peak, not just average).
  3. API — the contract.
  4. Data model — entities + the access pattern that picks the database.
  5. High-level design — boxes, each justified by a requirement.
  6. Deep dives — find and fix your own bottleneck.

If you can narrate those six steps before peeking, you’ve already passed.

Easy

ProblemHighlightsStatus
Rate LimiterToken bucket vs sliding window, where it lives, distributed countersAvailable
URL Shortener (TinyURL)Read-heavy path, unique key generation, shardingAvailable

Medium

ProblemHighlightsStatus
Typeahead / AutocompleteTrie at scale, prefix caching, top-k rankingAvailable
News FeedFan-out on write vs read, the celebrity problemAvailable
Chat App (WhatsApp)WebSockets, presence, message delivery & orderingAvailable
Distributed Key-Value StoreConsistent hashing, replication, quorum, CAPAvailable

Hard

ProblemHighlightsStatus
Web CrawlerBFS frontier, politeness, dedup at scaleAvailable
Notification ServiceMulti-channel fan-out, queues, retries, idempotencyAvailable

More Practice (Coming Soon)

ProblemHighlightsStatus
Design YouTube / NetflixVideo upload pipeline, transcoding, CDNComing Soon
Design InstagramPhoto storage, feed, follow graphComing Soon
Design UberGeospatial indexing, matching, real-time locationComing Soon
Design a Distributed CacheEviction, sharding, replicationComing Soon
Design Google Drive / DropboxChunking, sync, dedup, metadataComing Soon
Design TicketmasterInventory locking, fairness, concurrencyComing Soon
Design a Search EngineInverted index, ranking, sharded queryComing Soon
Design a Distributed Job SchedulerCron at scale, leader election, exactly-onceComing Soon