AlgoViz

Study plans

easy 30 min

Plans for three days, one week, four weeks and eight weeks.

Video lesson · Chapter 1 of 5

Attempt before reviewing

0:00 / 3:38

One loop, four plans

1:20Reel coming soon

Theory

Read or listen first. About 1 min.

What it is

A study plan decides what you practise, when you come back to it and how you know it is working.

Design is a skill, so the plan is mostly doing: attempt, review, repair, repeat.

Why it exists

Reading feels like progress, yet the interview asks you to produce. Practice shows what you cannot do yet.

Spacing the work helps you remember, and a plan keeps the last days calm.

A short history

  1. 1885

    Hermann Ebbinghaus publishes experiments on memory, including the forgetting curve.

  2. 1972

    Sebastian Leitner describes flashcard boxes that bring back hard cards more often.

  3. 1993

    Anders Ericsson and colleagues write about deliberate practice: focused work on a weakness with feedback.

Words to know

Spaced repetition
Coming back at growing gaps.
Active recall
Producing an answer before looking.
Deliberate practice
Working on a specific weakness with feedback.
Mock
A practice interview.
Baseline
Your first score, for comparison.

How it works

Step through the idea, or press Play.

Step 1 of 3

Try. A timed design, out loud, before you feel ready

Understand it

Start here

Training for a race

Nobody gets ready for a race by reading about running all month. They pick the date, run badly once, see where it hurt, train that part, sleep, and run again. Design interviews are the same.

From the first try to race day
RACE CALENDARFour weeks to go

The loop

Attempt, review, learn, harder

The practice loop

  1. 1

    Attempt

    45 minutes, out loud, drawing. Do it before you read the solution. Getting stuck is information.

  2. 2

    Review

    Tick the scorecard, then read the model answer. Write one line for each thing you missed.

  3. 3

    Learn the pattern

    Ask what kind of problem it was: many reads, contention, live updates, search. The kind comes back, the product does not.

  4. 4

    Drill

    Take the lowest stage. Do only that stage on three prompts, about 10 minutes each.

  5. 5

    Try a harder one

    Change one thing: ten times the load, a stricter promise, or a prompt with a different hard part.

Practice that moves you

  • Speaking and drawing with a clock
  • Trying before reading
  • One weak stage at a time
  • The same prompt again a week later

Practice that feels good

  • Reading ten solutions in a row
  • Watching someone else design
  • Redoing the stage you already like
  • Learning product names without a need

What you have

What you can use on this site today

We want to be honest about what exists. There is one full case study to read now, the URL shortener. More case studies are coming. Until then the plans below reuse a small set of prompts on purpose, which is good practice anyway.

UseForTime
How to think, The 45 minutesThe way of working. Read these first30 min each
Scoping, Numbers that decide, Grow a design, Choosing, Deep dives, Talking and drawingOne skill each. Read the one you need nextAbout 30 min each
What it tests, LevelsWhat is being looked for, and at which levelAbout 30 min each
Vertical scalingOne building block in full, as a model of depthAbout an hour
URL shortenerA full case study with its own timed MockSeveral sessions
Mock on The 45 minutesLibrary seats, timed, with a scorecard45 min
Mock on Mistakes and reviewFlood warnings, timed, with a scorecard45 min
Practice, System designWhiteboard, guided steps and feedback: URL shortener, rate limiter, news feed30 to 45 min
Interview dayThe last evening and the morning20 min
Two prompts for peers, with no page needed: a school bus tracker and recipe sharing. Both are set up in How to think.

Five ways to practise

  • Timed Mock

    The clock, the follow-up, the scorecard. Your main tool.

  • Peer mock

    A person who interrupts. Nothing else trains that.

  • Whiteboard practice

    Draw under guidance and read the feedback on your diagram.

  • Stage drill

    Ten minutes on one stage, three prompts in a row.

  • Flashcards

    Five minutes a day. Answer before you turn the card.

Choose

Which plan?

Count the days you really have

Between two plans, take the shorter one and use the spare days for extra mocks. With only one or two days, do day 1 and day 3 of the three day plan.
PlanTimeTotalFull timed runsWith a person
3 daysAbout 2 h a dayAbout 6 h20 or 1
1 week1.5 h a day, the last day lighterAbout 10 h21
4 weeks6 h a week24 h62
8 weeks5 h a week40 h93
These hours are a planning choice, not a promise. People start from different places.

Check that a plan fits

6×90+45=585 min≈10 h,4×6=24 h,8×5=40 h6 \times 90 + 45 = 585\ \text{min} \approx 10\ \text{h}, \qquad 4 \times 6 = 24\ \text{h}, \qquad 8 \times 5 = 40\ \text{h}
If the hours do not exist in your calendar, take a shorter plan now. A short plan that is finished beats a long one that is not.

Plan 1

Three days

The aim is not to learn everything. The aim is to finish a complete, simple design on time.

DayDoMinutes
1Read How to think and The 45 minutes (60). URL shortener Mock, before reading its page (45). Score it (15)120
2Read Numbers that decide and Grow a design (60). Library seats Mock (45). Score it (15)120
3Skim Deep dives (30). Drill your lowest stage three times (30). Flashcards (15). Interview day (20). Stop95
120 + 120 + 95 = 335 minutes, a little under 6 hours.

Plan 2

One week

DayLearnDo
1How to think, The 45 minutes (60)Say a scope for recipe sharing out loud (30)
2Nothing newLibrary seats Mock (45), review (45)
3Scoping, Numbers that decide (60)Numbers drill on three prompts (30)
4Grow a design, Choosing (60)Design drill on two prompts (30)
5Nothing newURL shortener with a friend (45), review (45)
6Deep dives, Talking and drawing (60)Lowest stage again (30)
7Interview day (20)Flashcards (25). Early night
Days 1 to 6 are 90 minutes. Day 7 is 45.

Plan 3

Four weeks

Each week has the same shape: 2 hours reading, 3 hours of timed runs and review, 1 hour of drills. That is 6 hours.

WeekLearnTimed runsBy the end you can
1 BaseWhat it tests, How to think, The 45 minutes, LevelsLibrary seats Mock, coldName the six phases and your lowest stage
2 Front halfScoping, Numbers that decide, Grow a designURL shortener Mock. Whiteboard: URL shortenerHave a working design by minute 25
3 DepthChoosing, Deep dives, Vertical scalingWhiteboard: rate limiter. Peer: school bus trackerDecide twice, with a cost each time
4 MixTalking and drawing, Mistakes and review, Interview dayFlood warnings Mock. Peer: recipe sharingRun the whole clock without help
The six full runs: library seats, URL shortener, rate limiter, school bus, flood warnings, recipes. The whiteboard URL shortener in week 2 is a guided review, not a full run.

Plan 4

Eight weeks

WeekLearnDo
1What it tests, How to think, The 45 minutesLibrary seats Mock, cold (run 1)
2Scoping, Numbers that decideWhiteboard: URL shortener, guided (run 2)
3Grow a design, Vertical scalingURL shortener Mock (run 3)
4URL shortener page in full. No new skillLibrary seats Mock again (run 4). Compare the two scores
5Choosing, Deep divesWhiteboard: rate limiter (run 5)
6Talking and drawing, LevelsPeer: school bus tracker (run 6)
7Mistakes and reviewFlood warnings Mock (run 7). Peer: recipe sharing (run 8)
8Interview day. FlashcardsPeer mock on a prompt they choose (run 9). Then rest
Week 4 is a checkpoint. If the score has not moved, repeat the drill before you add anything.

Level

Adjust for mid, senior and staff

LevelSpend more onSpend less onTest yourself with
MidScoping, Grow a design, finishing on timeSecond deep dives"Does every feature work end to end?"
SeniorChoosing, Deep dives, leading the clockRoutine API details"Did I decide twice and name the cost?"
StaffReaching the crux, rollout, cost, what not to buildStandard parts, said in one sentence"Did I make the problem smaller first?"
A useful split of drill time: mid 60% design and 40% depth, senior 40 and 60, staff 30 and 70. Change it when your scorecard disagrees.

Memory

Come back on day 1, 3, 7 and 14

Studying something in several sessions spread out helps you remember it for longer than one long session. Testing yourself helps more than reading it again. We use returns after 1, 3, 7 and 14 days. The exact days are a convenient rule, not a law.

One card, four returns

Wrong on a return? Start that card again at day 1.

What to put on a card

CardFrontBack
A decisionLibrary seats: why cache the map for 2 s?Map reads are the load. A stale map costs one polite refusal
A number1 million phones every 3 s is...About 333,000 writes a second
A line to sayHow do I leave scope?"To sum up: three features, these targets."
A failureWhat if the cleanup job stops?Expiry is checked at booking, so nothing breaks
Make cards from your own misses. Nobody else has that list.

People

Peer mocks and recording yourself

A peer mock in 70 minutes

  1. 1

    Before (5)

    Agree the level and one thing to watch, such as "stop me if I am silent".

  2. 2

    Run (45)

    The interviewer gives the prompt, two pushbacks, and nothing else. No teaching during the run.

  3. 3

    Self score (5)

    The candidate scores first, so that feedback has something to answer.

  4. 4

    Feedback (10)

    Two things that worked, one thing to change, with the minute it happened.

  5. 5

    One drill (5)

    Agree the drill and the day. Then swap roles another time.

How a peer pushes usefully

  1. Interviewer

    Design a school bus tracker. I will interrupt you twice.

  2. You

    Parents watch one bus, buses report positions. What must never go wrong is a stranger seeing a child's stop. Is that the right worry?

  3. Interviewer

    Yes. How many buses?

  4. You

    I will assume 2,000 buses reporting every 10 seconds. That is 200 writes a second, so one database is enough for now.

  5. Interviewer

    Now a parent shares their login with a neighbour.

  6. You

    Good push. Then a login is not enough to show a stop. I would limit each child to named guardians, and log who looked.

Recording yourself

Watch forHowKeep it if
TimeWrite the minute at each change of phaseBoxes appear by minute 15
SilenceNote any gap over 15 secondsYou announced it first
ReasonsCount choices, and choices with a costEvery choice has both
PicturePause at minute 25 and read only the boardThe main path can be followed
Ask before you record another person. Delete the file when you have your notes.

Measure

Use the Mock scorecard as your number

Each Mock shows how many points you covered in each stage. Turn that into a share, and watch the lowest one. Your total can rise while one stage stays stuck.

Share covered

share=points coveredpoints possible,1525=60%\text{share} = \frac{\text{points covered}}{\text{points possible}}, \qquad \frac{15}{25} = 60\%
Run 1 below: 3 + 1 + 2 + 3 + 4 + 2 = 15 of 25. Use the share, not the count, because stages have different numbers of points.

An example log (made up, to show the method)

RunScopeNumbersAPIDesignDivesWrap-upNext drill
1 Library seats3/41/32/33/44/72/4Numbers
2 URL shortener3/43/43/43/44/83/4Deep dives
3 Library seats4/43/33/33/45/73/4Deep dives
Run 1: numbers is lowest at 33%. After the drill it is 75% and then 100%. Deep dives, 57%, 50% and 71%, is now lowest.

What should I do after this run?

Half and 80% are our own thresholds. Keep yours fixed so that runs can be compared.

Worked example

Mid level, one week, weak at numbers

  1. 1

    Day 2

    Library seats Mock: numbers 1 of 3. "I said 20,000 readers and stopped. I did not say what it decides."

  2. 2

    Repair

    Read Numbers that decide. The missing habit is: after each number, say "so".

  3. 3

    Drill

    Three prompts, ten minutes each. Recipe sharing: "Assume 500,000 searches a day. Divide by 100,000, so 5 a second, so 15 at peak. So database search is enough to start."

  4. 4

    Day 5

    URL shortener with a friend: numbers 3 of 4. The lowest stage is now deep dives, so day 6 goes there.

Worked example

Senior, four weeks, always late

  1. 1

    Week 1

    Boxes appear at minute 24. Scope took 13 minutes because every question felt important.

  2. 2

    Cause

    Asking to feel safe. The answers did not change the first version.

  3. 3

    Drill

    Five-minute scope with an alarm, on three prompts. At the alarm say: "I have enough to begin. I will ask more as I go."

  4. 4

    Week 2

    Boxes at minute 16. Two deep dives now fit. The next drill is naming the cost of each choice.

Short on time

What to skip

Keep

  • Two timed runs, out loud
  • The six phases and their minutes
  • One number habit: so what does it decide?
  • A clear thirty-second summary
  • Sleep the night before

Skip first

  • A tour of every database product
  • Memorised final diagrams
  • Exact cloud prices
  • A third explanation of the same idea
  • Anything new on the last evening

If they ask about something you skipped

  1. Interviewer

    Would you use a consensus system here?

  2. You

    I have read the idea but not run one. What I need is that only one worker owns a job. A row in the database with an expiry gives that at this size. I would look at consensus if the database itself had to fail over without losing the claim.

Summary

The whole topic in one minute.

Use the same loop in three days or eight weeks: attempt, review, repair one weak part, return, try harder.

Measure with the mock scorecard, and cut reading before you cut practice.

  • The date picks the plan: 3 days, 1 week, 4 weeks or 8 weeks.
  • Attempt, review, learn the pattern, try a harder one.
  • One weak stage at a time, on three prompts.
  • Return on day 1, 3, 7 and 14.
  • Track the share in each stage, and label new prompts and repeats.
  • When short on time, drop reading before you drop timed runs.

Sources