System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
20 write-ups
| Title | Difficulty |
|---|---|
| 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 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 a Coupon System Promo codes with global, per-user and per-card redemption limits, time windows and referral rewards, enforced exactly under sale-day concurrency and kept in step with orders that fail or get refunded. | Medium |
| Design a Digital Wallet Design a stored-value wallet with top-ups, transfers, withdrawals and history that never double-spends, plus how a custodial crypto wallet changes deposits and withdrawals. | Medium |
| Design a Distributed Lock Let many service instances agree on who owns a resource right now, with TTLs so crashed holders let go, fencing tokens so paused ones can't do damage, and seat holds as the worked example. | Medium |
| Design a Fantasy Sports Platform Let tens of millions of users build teams before a match locks, score every team live as the real game unfolds, rank huge contests in seconds and pay winners exactly once. | Medium |
| Design a Flash Sale Site Sell 10,000 units to 10 million people who all click at the same second, without overselling and without taking the rest of the site down. | Hard |
| Design a Hotel Booking System Search millions of properties by place and dates, show live prices and rooms left, and book a multi-night stay without ever selling the same room twice, for Booking.com, Agoda or Airbnb. | Medium |
| Design a Ledger System Design a double-entry ledger that records every money movement immutably, serves correct balances under heavy concurrency, handles hot accounts and reconciles with the banks. | Hard |
| Design a Likes Counter Count likes, votes and views for billions of posts, where one viral post can take tens of thousands of likes a second, without losing a like or counting one twice. | Medium |
| Design a Restaurant Reservation System Let diners find a table for a party size and time, book it without double-seating, and get confirmations and reminders on time, like OpenTable, with table assignment, popular drops and no-shows. | Medium |
| Design a Sports Betting Platform Stream fast-moving odds, accept bets only at prices still on offer, cap risk on hot markets, settle millions of bets exactly once, and see how a prediction-market exchange differs. | Hard |
| Design a Stock Exchange Match buy and sell orders for thousands of symbols in microseconds, with a single sequenced history that makes the engine deterministic, replayable and fair. | Hard |
| Design Amazon Locker Let shoppers pick a self-service locker at checkout that is guaranteed to have room, let drivers drop off, and let customers open their compartment with a one-time code, even when the locker is offline. | Medium |
| Design an E-Commerce Platform like Amazon A catalog of 500M products, faceted search, durable carts and a checkout that never oversells or double charges, all built to survive a sale day with 10x normal traffic. | Medium |
| Design an Inventory Management System Track 100M SKUs across hundreds of warehouses, reserve stock at checkout without overselling, and keep an auditable ledger through receipts, returns, damage and cycle counts. | Medium |
| Design an Online Auction Build an eBay-style auction where thousands of people bid on the same item, everyone agrees on the highest bid, no bid is lost, and watchers see new bids within a second. | Medium |
| Design Google Calendar Design a calendar with events, invites and RSVPs, recurring events with exceptions, free/busy lookups, meeting room suggestions and Calendly-style booking links that never double-book. | Medium |
| Design Multiplayer Matchmaking Put 1M concurrent players into fair 12-player matches and 100-player lobbies within seconds, balancing skill, latency and queue time, then hand each match a game server. | Medium |