Mock system design interview
Talk through a design out loud while you draw.
- 1Pick a problem
- 2Talk and draw
- 3Get scored
First URL shortener interview free. Best in Chrome or Edge, with headphones.
169 problems
| Problem | Difficulty |
|---|---|
| Design a URL Shortener Turn long URLs into short, unique codes and redirect billions of clicks a day quickly, with custom aliases, expiry, and a Pastebin-style variant for text. | Easy |
| Design a Distributed Key-Value Store Build a Dynamo-style key-value store that spreads 100 TB across hundreds of nodes, survives machine and zone failures, and lets each read choose between fast and strongly consistent. | Hard |
| Design a Distributed Rate Limiter Cap how many requests each user, IP or API key can make, across a fleet of gateways, at a million requests per second, while adding about a millisecond of latency. | Medium |
| Design a Ride-Sharing App Match riders to nearby drivers in seconds like Uber, track trips live, price with surge, and match pooled rides and carpools whose routes overlap. | Hard |
| Design a Ticket Booking System Let millions of people pick seats for concerts, movies and trains without selling a seat twice, with seat locking, a waiting room for on-sales, booking across theater chains and train seats sold by segment. | Hard |
| Design a Unique ID Generator Hand out unique, roughly time-ordered 64-bit IDs across many machines without coordination, plus strictly ascending sequences and idempotency keys for safe retries. | Easy |
| Design a Web Crawler Crawl ten billion pages in days without hammering any one site, crawling a URL twice or storing the same page twice, including a peer-to-peer version on 10,000 phones and crawling for LLM training data. | Hard |
| Design an Ad Click Aggregator Record a billion ad clicks a day, redirect users instantly, and give advertisers minute-level, near real-time reports that are accurate enough to bill on, even when one ad goes viral. | Hard |
| Design an Online Judge Design a LeetCode-style judge that runs untrusted code safely and fairly, survives contest-start spikes, keeps a live leaderboard, and extends to Replit-style interactive sandboxes. | Medium |
| Design Facebook Post Search Let users search billions of status updates by keyword, sorted by recency or likes, with new posts and likes searchable within a minute, plus a public search API for third-party developers. | Medium |
| Design Google Drive Store files of any size, keep them in sync across every device a user owns, share them with others, keep old versions, and avoid storing the same bytes twice. | Medium |
| Design Instacart Order groceries from many stores and have a personal shopper pick them, with fresh catalogs, delivery slots and live substitutions, plus 10-minute delivery from dark stores like Zepto and Blinkit. | Medium |
| Design Top K / Trending Hashtags Find the top K hashtags, posts or products over sliding 10-minute, 1-hour and 24-hour windows, by location and category, with past trends, from a stream of a billion events a day. | Medium |
| Design Twitter Post short messages, follow people, and load a home timeline in under 200ms, even when an account with 100 million followers tweets. | Medium |
| Design WhatsApp A chat app for billions of phones: 1-1 and group messages over persistent connections, offline delivery, sent/delivered/read receipts, and a mobile client that survives flaky networks. | Medium |
| Design YouTube Accept multi-gigabyte uploads, turn them into adaptive streams in many resolutions, and serve billions of views a day without the origin ever feeling it. | Medium |
| Design a Blob Store like S3 Store 100 PB of objects with eleven nines of durability, split into a strongly consistent metadata layer and an erasure-coded data layer, with multipart uploads and pre-signed URLs. | Hard |
| Design a Block Storage Service like EBS Give virtual machines network disks on demand, with sub-millisecond replicated writes, placement that avoids fragmentation, incremental snapshots to object storage and safe failover. | Hard |
| Design a CDN Serve customers' content from hundreds of edge locations, steer each user to a nearby one with anycast and DNS, protect the origin, and purge stale objects worldwide in seconds. | Hard |
| Design a CI/CD System Build and test every push on isolated runners like GitHub Actions or Jenkins, then roll the result out safely to a global server fleet, or over the air to millions of devices. | Hard |
The whole interview path
System design is one stop. Practice the others here too.
- Mock OA →Usually the first step, timed and online.
- Coding rounds →Phone screens and onsite coding.
- Debugging and review →Fix a bug or review a PR in a real repo.
- System designTalk through a design out loud.You are here
- Behavioral →Your stories, with follow-ups.
FAQ
Questions, answered
What do I need?
A microphone. It works best in Chrome or Edge, with headphones.
How long is an interview?
45 minutes. The interviewer paces the interview to fit.
Can I draw my design?
Yes. There is a whiteboard next to the conversation, and your board is saved with the interview.
What can I do for free?
Your first URL shortener interview is free. The other problems use your Pass or credits.
Can I look back at an interview?
Yes. Your recent interviews are listed on this page; open one to see how it went.