THE QUESTION BANK

Pick your next sketch.

Every question starts with a blank board.
Prefer paper? Print the prompt.

Topic
Skill
Difficulty
Company

Tags come from a public catalog and are unverified unless a candidate report backs them. How we label evidence

Study material

55 questions · page 1 of 3

Quick jump
  1. URL shortener
  2. Pastebin-style text sharing service
  3. photo sharing app
  4. Dropbox-style file sync service
  5. chat app
  6. microblog home timeline
  7. video upload and streaming service
  8. search autocomplete
  9. API rate limiter
  10. metrics aggregation and query system
  11. partitioned, replicated log for event streaming
  12. distributed key-value store
  13. most-shared articles over sliding time windows
  14. web crawler
  15. ranked news feed
  16. nearby places search
  17. metrics collection from thousands of servers
  18. shared calendar with invitations
  19. message broker with per-message acknowledgement
  20. website analytics pipeline and dashboard
  21. system to sort a 100 TB dataset
  22. top charts for an app store
  23. distributed job scheduler
  24. notification service
  25. surge pricing for a ride-hailing app
  26. Limit simultaneous streams per account
  27. live driver tracking and ETA for a ride
  28. hotel booking system
  29. A/B testing platform
  30. price drop alerts
  31. dependency injection framework
  32. card payment processing API
  33. like counts for very popular posts
  34. control plane for a managed database service
  35. login and authentication system
  36. weather app
  37. wiki-style document management system
  38. local marketplace for listings
  39. health monitoring for a large cluster
  40. driver dispatch for ride requests
  41. distributed tracing system
  42. giveaway for 6 million free items in one hour
  43. file downloader library
  44. global live stock price distribution
  45. private photo library
  46. on-call paging and escalation system
  47. wire transfer API with a ledger
  48. live comments for live video
  49. live viewer count for a page
  50. live like count updates
  51. petabyte-scale migration to the cloud
  52. defensive detection and containment of coordinated bot traffic
  53. BitTorrent-style peer-to-peer file transfer system
  54. parts compatibility for an e-commerce site
  55. ad delivery for a social feed
FoundationsNo. 01 25 min

Caching & read paths

Design a URL shortener

Turn long links into short, shareable URLs and redirect visitors quickly.

2 worked approachesWalkthrough reading

IntermediateNo. 03 45 min

Feeds & social graphs

Design a photo sharing app

Let people post photos from their phones, follow each other, and scroll a home feed of the people they follow.

2 worked approachesWalkthrough reading

IntermediateNo. 05 40 min

Real-time delivery

Design a chat app

Deliver messages between two people, including across reconnects, without losing or duplicating any.

2 worked approachesWalkthrough reading

AdvancedNo. 06 45 min

Feeds & social graphs

Design a microblog home timeline

Deliver short posts to every follower's home timeline when some accounts have a hundred million followers.

3 worked approachesWalkthrough reading

AdvancedNo. 08 40 min

Search & ranking

Design search autocomplete

Suggest the most likely completions as someone types, within tens of milliseconds, from billions of past queries.

2 worked approachesWalkthrough reading

AdvancedNo. 09 35 min

Security & reliability

Design an API rate limiter

Enforce per-key request limits across hundreds of gateway nodes without adding noticeable latency.

3 worked approachesWalkthrough reading

AdvancedNo. 14 45 min

Distributed infrastructure

Design a web crawler

Fetch a billion pages a month politely: respect robots.txt and per-host limits, skip duplicates, and recrawl wisely.

2 worked approachesWalkthrough reading

AdvancedNo. 15 50 min

Feeds & social graphs

Design a ranked news feed

Assemble a personalized, ranked feed from friends, pages and groups while respecting who is allowed to see each post.

2 worked approachesWalkthrough reading

IntermediateNo. 16 35 min

Geospatial & marketplaces

Design a nearby places search

Find restaurants and shops near a point or inside a map view, filtered and ranked, over mostly static places.

2 worked approachesWalkthrough reading

IntermediateNo. 22 35 min

Search & ranking

Design top charts for an app store

Publish hourly top-200 charts per category and country that reflect real demand, resist install fraud and do not flap.

2 worked approachesWalkthrough reading

AdvancedNo. 23 40 min

Scheduling & coordination

Design a distributed job scheduler

Run cron-style and one-off jobs on time across a fleet, at least once, without losing schedules when machines fail.

2 worked approachesWalkthrough reading

AdvancedNo. 24 45 min

Queues & streams

Design a notification service

Send push, email and SMS on behalf of other teams, honoring preferences, without duplicates, through unreliable providers.

2 worked approachesWalkthrough reading