Lesson 31 of 32Landing the job
Mock Interviews and a Prep Plan
Run mock interviews as candidate and interviewer with a real rubric, then follow a 4, 8 or 12 week plan mapped to RazorCode lessons and tools.
Most people who fail a loop did not fail for lack of knowledge. They solved plenty of problems alone, on a quiet evening, with the run button and no one watching, then froze when a stranger watched them type. A mock interview is the only practice that recreates the real conditions: a clock, an audience, and a score at the end. This lesson shows you how to run mocks properly from both chairs, how to score them, and how to fit everything into a 4, 8 or 12 week plan that points at specific lessons and tools on this site.
Why solving alone is not enough
Solving a problem and passing an interview are different skills that share some parts. On your own you can sit in silence for ten minutes, rerun your code twenty times, and peek at the pattern label. In the real round none of that works. You have to think and talk at the same time, decide without feedback, and write code you cannot run on some platforms.
Three things only show up under observation:
- Narration gaps. You go quiet exactly when the thinking gets hard, which is when the interviewer most needs to hear you. As you saw in How Interviews Work, what you do not say does not reach the written feedback.
- Time blindness. Alone, a medium takes "about half an hour". Under a real clock you discover you spent 14 minutes on the brute force.
- Recovery. Interviews reward how you handle a wrong turn or a hint. You cannot practice taking a hint from yourself.
The other reason mocks matter is feedback against a rubric. "That went fine" is useless. "Problem solving 3, testing 1, you never traced your code" tells you exactly what to drill next week.
Where to get mocks
You need a mix, because each source is good at different things.
| Source | Good for | Weak at |
|---|---|---|
| A peer (friend, classmate, colleague) with a shared rubric | Volume, swapping roles, free | Calibration: a peer may be too kind or too unsure to score |
| Peer-matching platforms (for example Exponent Practice, which absorbed Pramp's peer mocks in 2024) | Strangers, which feels closer to the real thing | Your partner's interviewing skill varies a lot |
| Paid mocks with working engineers (for example interviewing.io) | Calibrated scoring from people who interview for real | Cost, so save them for the last third of your prep |
| Recording yourself solving on video | Hearing your own filler, silences and rambling | No one asks follow-ups |
| AI mock interviewers | Unlimited drill, behavioral follow-ups at midnight | Calibration: they tend to be generous and may accept wrong complexity claims |
| RazorCode's timed mock on the Interview prep page | A cold problem (or two) under a clock, any time, then a self-scored debrief on the rubric below | No human on the other side, so you must narrate to an empty room and score yourself honestly |
Platforms and their offers change often, so check what each one currently provides before you pay. A good rule: drill with the cheap sources, calibrate with humans who interview professionally.
Running a coding mock as the candidate
Book 60 minutes: 45 minutes of interview and 15 minutes of feedback. Treat the 45 as real.
- Set up like the real thing. Same editor the company uses if you know it (a plain shared editor if not), camera on, notes closed, autocomplete off.
- Do not pick the problem. The interviewer picks it. If you are alone, the timed mock picks problems you have not solved and hides the pattern label, the hints and the solution until the clock stops.
- Run the playbook. Clarify, examples, brute force, optimise, code, test, complexity, exactly as in The Coding Interview Playbook. The mock is where the playbook becomes a habit.
- Talk the whole time, including when stuck. "I am looking for repeated work in this loop" is a fine sentence.
- Write down your own score before you hear theirs. The gap between how you felt and how you did is the most useful number you will collect.
Running it as the interviewer
Be the interviewer as often as you are the candidate. Watching someone else go silent for four minutes teaches you why it hurts, and filling in a rubric teaches you what earns points faster than any article.
Your job has four parts:
- Prepare. Pick a problem the candidate has not seen, solve it yourself, and know two follow-ups ("what if the input does not fit in memory?", "now return all pairs").
- Stay quiet but present. Answer clarifying questions with the real answer. Do not teach. A short "mm-hm" is enough.
- Hint on a ladder. Wait about three minutes of real stuckness, then give the smallest hint that unblocks them, and write down every hint you give.
- Take notes in time order. "12:30 named hash map, O(n). 19:00 off-by-one in loop bound, found it while tracing." Notes are evidence; your score comes from them, not from your mood.
Real stuckness, not a pause to think. Let them try first.
The scoring rubric
Use the same four rows big tech coding rounds commonly use, each scored 1 to 4. Agree on the rubric before the mock, so the candidate knows what is being measured.
| Row | 1 (strong no) | 2 (lean no) | 3 (hire) | 4 (strong hire) |
|---|---|---|---|---|
| Problem solving | No working approach, even with hints | Brute force only, or optimal with heavy hints | Reached a good approach with at most a small hint, explained the trade-off | Optimal quickly, compared alternatives, handled follow-ups |
| Coding | Could not turn the idea into code | Works partly, messy names, logic bugs found by the interviewer | Clean, correct code with minor slips they caught themselves | Idiomatic, well structured, no wasted lines |
| Communication | Long silences, could not explain | Explained only when asked | Narrated throughout, checked in at decision points | Clear and structured, easy to take notes on |
| Testing | Never tested | Ran the given example only | Traced an example and an edge case, fixed what they found | Chose tests deliberately, found their own bugs before the interviewer |
Turn the four rows into one call with a simple rule: any row at 1 is a no hire, otherwise average the rows. That mirrors how real loops work, where one clear weakness outweighs strengths elsewhere. Run this with your own mock log to see which row is holding you back.
Press Run (⌘ Enter) to see what happens.Testing is the weakest row here, which is the most common finding in early mocks and the cheapest to fix: Testing Your Own Solution is one lesson.
What does this print?
def verdict(scores):
if min(scores.values()) == 1:
return "No hire"
avg = sum(scores.values()) / len(scores)
return "Hire" if avg >= 2.75 else "Lean no hire"
print(verdict({"problem_solving": 4, "coding": 4,
"communication": 4, "testing": 1}))Design and behavioral mocks
System design mocks need a partner who knows design, so trade: you run their coding mock, they run your design mock. Use the structure from The System Design Interview, pick a case study you have not read yet, and score four rows: requirements and scope, high-level design, depth on one or two components, and trade-offs. Draw on a shared whiteboard, not paper, because that is what you will use on the day.
Behavioral mocks are the most skipped and the cheapest. Take the stories in your story bank and say each one aloud to a partner. Three rules:
- Time it. Two to three minutes per story, then stop and let them probe. Most first attempts run five minutes and bury the result.
- The partner asks two follow-ups per story: "What would you do differently?" and "What did your manager think?" Follow-ups are where rehearsed stories fall apart.
- Map each story to its themes (conflict, failure, ownership, ambiguity, influence) so you know which question each one answers. Behavioral Interviews by Level shows how the expected scope grows with seniority.
Put a well-run 60-minute coding mock in order.
- Tap the steps below in the right order.
Using RazorCode's tools
The site has six tools that fit into the plans below. Each has one job.
- Practice: problems grouped by pattern, with filters for difficulty, status and three study lists: Essentials (the 75 problems of LeetCode 75), Sprint (the 150 of Top Interview 150) and Deep dive (both, plus about 20 problems for every pattern). Use the pattern view while learning a pattern. Once you have learned most of them, switch to "To do" plus a study list, so you stop seeing the pattern before you start.
- Decoder: practices the part before typing (reading, budgeting, naming the pattern, planning). Use it on days with only 20 minutes.
- Timed mock: pick a format, a phone screen (one problem, 45 minutes) or an online assessment (two problems, 70 minutes), and a difficulty. It opens problems you have not solved, with the pattern label, hints, Decoder and solution locked until time is up or you end the round. Narrate out loud as if someone is there. Then comes the debrief: tests passed, time used, the target complexity, your own scores on the four rows below, the verdict from the any-row-at-1 rule, and how a strong candidate would say the solution out loud. Your rounds and their trend stay on this device. This is your solo mock.
- Interview prep: flashcard decks by topic (flip, then mark "Got it" or "Review again"; a card counts as mastered only after three right answers in a row, days apart), the behavioral prompts with model answers, and the story bank where you write your STAR stories, see which questions each story answers, and practise them against a timer. Stories save on this device only, so copy them somewhere safe too.
- Your plan: enter your interview date, role, level, hours a week and language, and it lays out the weeks below day by day, with a Today list on the Interview prep page, a calendar file to export, and a readiness estimate. It is built from the same rules as the tables here, so treat it as a starting point and let your rubric scores override it.
- Review: spaced repetition. Questions you miss in lessons, and terms you save from a lesson's glossary, come back after 1, 2, 4, 8, 16 and 32 days. A miss sends a card back to the start. Interview flashcards keep their own schedule inside each deck for now. Clear Review daily; it takes about as long as your coffee.
The cheat sheet is for the last week, not the first.
Pick your plan
Choose by the time you have, then adjust by level. The hours are weekly estimates; the week rows matter more than the exact hours. For the problem-solving method inside each week (time boxes, mistake logs, re-solving), follow Practice That Sticks.
12 weeks, about 7 hours a week (rebuilding foundations)
| Week | Learn | Do | Mocks |
|---|---|---|---|
| 1 | Big-O, Arrays and Hashing, Reading the Problem | 8 easy problems in Practice; write 2 stories | none |
| 2 | Two Pointers, Sliding Window, Stack, Thinking Out Loud | 6 problems; start clearing Review daily | 1 peer mock as interviewer |
| 3 | Binary Search, Linked Lists, Brute Force First | 6 problems; 2 more stories | 1 timed mock, easy |
| 4 | Trees, Heaps, What Is System Design, Back-of-the-Envelope | 6 problems | 1 peer coding mock |
| 5 | Graphs, Backtracking, Caching, Databases | 6 problems; Decoder twice | 1 timed mock, medium |
| 6 | Dynamic Programming, Replication and Sharding, Message Queues | 5 problems; stories to 6 | 1 coding, 1 behavioral |
| 7 | Greedy, Intervals, The System Design Interview | 5 problems; read URL Shortener | 1 coding |
| 8 | The Pattern Map, Getting Unstuck, News Feed | Mixed "To do" mediums only | 1 coding, first design mock |
| 9 | Weakest two patterns again, Chat App, Behavioral Interviews by Level | Re-solve your mistake log | 1 coding, 1 design |
| 10 | The rounds your recruiter named: Online Assessments, Technical Phone Screen, Company-Specific Loops, SQL Interview Questions if the role uses SQL | Question bank for your language | 1 paid or calibrated mock |
| 11 | Project Deep Dive | Full loop day: 2 coding, 1 design, 1 behavioral | 4 in one day |
| 12 | Job Search and Offers | Taper: Review, cheat sheet, 1 problem a day | 1 light mock early in the week |
8 weeks, about 10 hours a week (the standard plan)
| Week | Learn | Do | Mocks |
|---|---|---|---|
| 1 | Big-O, Arrays and Hashing, Two Pointers, Sliding Window, The Coding Interview Playbook | 10 problems; 3 stories | none |
| 2 | Stack, Binary Search, Linked Lists, Thinking Out Loud | 8 problems | 1 peer mock, both roles |
| 3 | Trees, Heaps, Graphs, What Is System Design | 8 problems; stories to 6 | 1 timed mock |
| 4 | Backtracking, Dynamic Programming, Caching, Databases | 8 problems | 1 coding, 1 behavioral |
| 5 | Greedy, Intervals, The Pattern Map, The System Design Interview, URL Shortener | Mixed mediums | 1 coding |
| 6 | News Feed, Chat App, Behavioral Interviews by Level | Re-solve mistake log | 1 coding, 1 design |
| 7 | Round-specific lessons (see week 10 above), one question bank | Mixed mediums, 25-minute cap | 2 coding, 1 design, 1 calibrated |
| 8 | Job Search and Offers | Full loop day early in the week, then taper | 4 in one day |
4 weeks, about 15 hours a week (refresh, interview already booked)
This plan assumes you learned the patterns once before. It starts by measuring, not by studying.
| Week | Learn | Do | Mocks |
|---|---|---|---|
| 1 | The Pattern Map, then only the pattern lessons your mocks expose | Diagnose: 3 timed mocks on mixed difficulty; stories to 6 | 1 peer, 3 timed |
| 2 | The matching decode lessons, such as Decoding Trees and Graphs and Decoding DP and Greedy; The System Design Interview, 2 case studies | 12 mixed mediums | 1 coding, 1 behavioral |
| 3 | The lessons for the rounds your recruiter named, plus Company-Specific Loops | Mixed mediums, 25-minute cap | 1 coding, 1 design, 1 calibrated |
| 4 | Cheat sheet and Review only | Full loop day early, then taper | 4 in one day |
Adjusting by level
| Level | Coding | Design | Behavioral | Add these |
|---|---|---|---|---|
| Junior / new grad | about 70% | about 10% | about 20% | Object-Oriented Design Round if the company asks it; design mocks optional |
| Mid level | about 55% | about 25% | about 20% | One design case study a week from week 4 |
| Senior and above | about 35% | about 35% | about 30% | Senior and Staff Interviews, Project Deep Dive, Design Docs and RFCs for the language of trade-offs |
These splits are a starting point, not a formula. Your rubric scores override them: if testing is your weakest row at week 4, testing gets the hours.
Tracking readiness
Stop guessing whether you are ready. Track four numbers in a simple sheet and look at them each Sunday.
| Signal | Ready looks like |
|---|---|
| Unseen mediums | You solve most of your last ten unseen mediums within 25 minutes, with tests, talking throughout |
| Coding mock scores | Two or three human mocks in a row at "hire" or better, with no row at 1 |
| Design mocks (mid and senior) | Two passed in a row on case studies you had not read |
| Behavioral | Six to eight stories, each under three minutes, covering conflict, failure, ownership, ambiguity and influence |
These thresholds are reasonable targets, not official bars; companies do not publish theirs. The trend matters more than any single score.
Match what your mock log shows to the best next step.
The final week
The last week is for staying sharp, not for learning new patterns. Cramming DP the night before costs more in sleep than it adds in skill.
- Early in the week: one full loop simulation, then nothing heavier than one problem a day.
- Daily: clear Review, read your stories aloud once, skim the cheat sheet.
- Logistics: test camera, mic and the platform link; know the time zone; have water and a pen. For in-person rounds, plan the journey and arrive early.
- Recruiter check: confirm the round order and which languages are allowed. They want you to pass and will tell you.
- Sleep: protect the two nights before. Tired working memory is exactly what a coding round tests.
After each real round, write a short note: what was asked, what went well, what scored badly. It becomes your plan for the next loop if this one does not work out.
That is the last lesson of Interview Prep. The wrap-up follows one application from the first resume to a signed offer, using everything in the course.
- mock interview
- A practice interview run under real conditions: a clock, an observer, an unseen problem, and rubric-based feedback.
- rubric row
- One scored dimension of a round, such as problem solving, coding, communication or testing, usually on a 1 to 4 scale.
- calibration
- How closely a mock's scores match what real interviewers would give. Peers and AI are often less calibrated than professionals.
- hint ladder
- Giving the smallest useful hint first and escalating only if needed, while recording how many hints were used.
- full loop simulation
- Running several mock rounds back to back in one day to practice stamina and switching between round types.
- taper
- Reducing practice volume in the final days before interviews so you arrive rested and sharp.