Prepare for your system design interview

Learn how the round works, then practise it on full mock interviews: the questions to ask, the numbers to say and the trade-offs to name. High-level and low-level design, with code.

Start reading

The start of every guide is free, with no sign-up. New to system design? Start with the basics.

306 topics57 mock interviewscode in 3 languages

Get ready for the round at

  • Google
  • Meta
  • Amazon
  • Microsoft
  • Apple
  • Netflix
  • Stripe
  • Flipkartand more

How the round differs at each company

Read it like a real interview

Every case study is a full mock interview, minute by minute, and the diagrams move the way data does. Here is how two of them start, exactly as they are on the site.

HLD · Case studyBeginner

Design a URL shortener (like Bitly)

Below is a full mock interview following the seven steps of the framework. You're the candidate: at each Guess before you read on, stop and answer first.

Step 1 · Clarify the features and cut the scope

Minutes 0–5 · How this step works

Interviewer: Design a URL shortener, like Bitly.

You: A few questions first. The core is creating a short link and redirecting anyone who opens it. Can people pick their own alias, like /summer-sale? Do links expire?

Interviewer: Custom aliases, yes. The creator can set an expiry date.

You: Do creators see click counts? Can a link's destination change later?

Interviewer: Clicks per link by day and country, no live dashboards. Destinations never change, but we must be able to disable a link, say if it points to malware.

You: Who creates links?

LLD · Case studyBeginner

Design a parking lot

Below is a full 45-minute round on the LLD framework. You are the candidate. At each Guess before you read on, stop and answer first.

Step 1 · Clarify the requirements and cut the scope

Minutes 0–5 · How this step works

Interviewer: Design a parking lot.

You: Which vehicles come in, and what sizes of spot are there?

Interviewer: Motorcycles, cars and vans. Spots are small, regular or large.

You: Can a vehicle take a bigger spot when its own size is full?

Interviewer: Yes. A motorcycle can take a regular spot, and a car a large one. Never the other way round.

You: How is the price set, and is taking the payment part of this?

Interviewer: Each vehicle type has an hourly rate, and every hour started counts. Just return the amount.

You: How big is the lot, and what does "full" mean?

Interviewer: Five levels of about a thousand spots. Full means no spot fits, so the gate turns the vehicle away.

Every read stops at the cheapest copy

  1. The photo app at peak: 50,000 feed views a second, each with 10 thumbnails. 95% of them are already at the nearby CDN edge.
  2. The 5% the edge lacks come from photo storage: 1.25 GB/s instead of 25.
  3. The feed is a list of post IDs built when posts were written: one Redis read, not 200 lookups. The 5% that miss are rebuilt from the database with ~200 lookups each.
  4. Then the ten posts' rows: 500,000 lookups a second, 95% answered by Redis in about 1 ms.
  5. Only Redis misses reach the database: ~500,000 lookups rebuilding missed feeds plus 25,000 post rows, ~525,000 a second, about 14 replicas a zone. Each miss is copied into Redis for next time.

Everything in one place

Start anywhere. Each category reads like a book, from how the round works to full practice rounds.

Full access includes these four when they're ready, at no extra cost.

Full access

One plan opens every guide

The start of every guide is free. Full access opens the rest of every guide, in every category.

  • Every guide, in full: all 306 topics in Fundamentals, High-level design and Low-level design, not only the free start of each
  • 57 mock interviews (the case studies), each with its animated diagrams
  • Every practice question: 26 practice pages and 8 problem sets, with their answers
  • Runnable projects for the low-level design guides, to download in Java, JavaScript and Python
  • New guides as they're added, including Mobile, Frontend, ML and GenAI, at no extra cost
  • Read from anywhere: your access isn't tied to the country you paid from

Lifetime

Loading the price

One payment, full access while the site runs. Plus any tax, shown at checkout.

1 year

Loading the price

Renews automatically each year at this price. Plus any tax, shown at checkout.

You'll sign in with Google first, so your access works on every device. Then you go straight to checkout.

Already have full access?

From the blog

Free articles on one interview idea at a time.

All posts

Free weekly email

One interview idea a week

A 3-minute read: one question interviewers ask, an everyday picture, the real numbers and what to say.

Check your inbox. If that address is new here, a link to confirm it is on its way. Tap it, and the first email comes within a week.

That address didn't look right. Check it and try again.

We couldn't sign you up just now. Please try again in a few minutes.

One email a week. Unsubscribe with one click from any email. Privacy