The Three-Day Revision Plan
What an SDE-2 interview asks for, in plain terms, and an hour-by-hour plan for the two or three days you have left.
Two terms come up constantly here, so let's fix them first.
HLD is high-level design. You draw boxes — a web server, a database, a cache — and explain how they talk to each other over the network. The question sounds like "design Twitter for 100 million users".
LLD is low-level design. You stay inside one program and design the classes: what objects exist, what each one does, and how they fit together. The question sounds like "design a parking lot".
Same skill, different zoom level. This track is the LLD half; the HLD Bridge track next door covers the other half and the overlap.
#What the interviewer is actually grading
You have two or three days. That is not enough time to learn design. It is plenty of time to revise it.
The thing that separates a pass from a fail is rarely knowledge. It is whether you can produce a complete, sensible answer in 45 minutes while saying why you chose each thing. Here is the difference in practice:
| A weaker answer | The answer that passes | |
|---|---|---|
| Requirements | Starts drawing straight away | Asks a few questions first, says what's out of scope |
| Structure | One huge class, or one huge box | A few pieces, each with one clear job |
| Choices | "I'll use Redis" | "Redis, because reads are 100× writes and slightly stale data is fine" |
| New feature | Rewrites things | Adds a class |
| Failure | Never mentions it | Says what breaks and what happens next |
| Threads | Ignored | Says which data is shared and how it's protected |
Nobody expects a brilliant new architecture. They want a calm, complete, ordinary-but-well-argued design.
#The two zoom levels, side by side
The most common mistake is answering at the wrong level: estimating traffic in an LLD round, or drawing class diagrams in an HLD round. HLD vs LLD shows you how to tell which one you're in within the first two minutes.
#The plan
Times are a guide. If you only have two days, drop Day 2 and fold its problems into Day 3.
#Day 1 — the vocabulary (about 4 hours)
You can't design classes fluently without the words for it. Get them back first.
| Topic | Why now | |
|---|---|---|
| 60 min | Objects, in practice | What an object is for, and when to use an interface |
| 20 min | Class diagrams, fast | Drawing your design so the interviewer can follow it |
| 45 min | SOLID, in plain English | The five ideas you'll narrate your design with |
| 75 min | The patterns worth knowing | Strategy, factory, observer, state — most of what appears |
| 45 min | The LLD method | What to do minute by minute |
| 30 min | HLD refresher, first half | Keep the other muscle warm |
Before you stop: without looking, write down the six steps of the LLD method, and the five SOLID letters with one example each. If you can't, redo the last hour instead of moving on.
#Day 2 — problems, out loud (about 4 hours)
Solving them isn't the point. Producing an answer under time pressure is. Set a 40-minute timer per problem. Talk out loud. Draw the classes on paper before you read the solution.
| Problem | What it teaches | |
|---|---|---|
| 40 min | Parking Lot | The standard way to break a problem into classes |
| 40 min | Elevator System | Objects whose behaviour depends on their current state |
| 40 min | Splitwise | Handling money and splitting it exactly |
| 30 min | Threads and races | The follow-up question you will definitely get |
| 45 min | HLD refresher, second half | Components and the choices between them |
#Day 3 — the overlap, then taper (about 3 hours)
| Topic | Why last | |
|---|---|---|
| 40 min | Seat Booking | One problem asked at both levels |
| 30 min | In-memory cache | A data-structure flavoured question, very common |
| 30 min | Rate limiter | The same problem, both zoom levels |
| 45 min | Re-solve one Day-2 problem from scratch | Proves you can produce it from memory, not just nod along when you see it |
| 30 min | The final checklist | Quick recall, then stop |
#More problems, for after the three days
Each is written to be answered in 40 minutes, in the same six steps. Pick by what you want to practise:
| Problem | What it practises |
|---|---|
| Vending Machine | A state machine with money in it — and the change-making trap |
| ATM | Keeping a bank's ledger and a cash drawer in agreement through crashes |
| Library Management | Telling a title from its copies; fair reservation queues |
| Logging Framework | Strategy, decorator and a singleton you can defend — in code that runs on every request, so it must be fast |
| Alerting System | The observer pattern with its real-world problems: slow listeners, duplicates, storms |
| Snake and Ladder | A clean turn-based game, and making randomness testable |
| Chess | Polymorphism that's genuinely useful (each piece moves differently), and the one rule behind every legal move |
And one page for reviewing code rather than designing it: Code smells and refactoring.
#Three rules for practising
They cost nothing and almost everyone ignores them.
- Say it out loud. Understanding something and explaining it in order to a stranger are different skills. Only speaking closes the gap. Talk to a wall if you have to.
- Draw before you read. Look at the problem, close the page, spend ten minutes on your own class diagram, then compare. Reading solutions teaches you to recognise them. Drawing teaches you to produce them, which is what the interview asks for.
- Use a timer. Every problem here is written to be answerable in 40 minutes. If you take 70, you're practising something you can't use on the day.
#If you've already read the rest of this course
The HLD material in the Bridge track is a compressed version of Foundations, Building Blocks and the Appendix. If you know those, skim it and put the time into the LLD problems instead — that's the side most SDE-2 candidates under-prepare.
#Check yourself
HLD versus LLD in one line each?Show answer
What earns points in a design interview?Show answer
What does a passing answer do that a weaker one doesn't?Show answer
What is the most common level mistake?Show answer
Name the three rules for practising.Show answer
What should the night before the interview look like?Show answer
#What to carry forward
- Two zoom levels: HLD is between programs, LLD is inside one. Identify which round you're in early.
- Every point comes from a decision plus its reason.
- Day 1 vocabulary, Day 2 timed problems out loud, Day 3 overlap and re-solve one from memory.
- Producing beats recognising: draw first, read second, out loud, against a timer.