Mock interviews and deliberate practice
How to turn practice into improvement: run realistic mock interviews, collect feedback, keep a mistakes log, and train the specific skills that cost you offers.
GuideCore5 min readUpdated
- 3 self-checks
On this page11 sections
Read first: A 12-week interview preparation plan
- Explain why solving problems alone does not prepare you for a live interview.
- Run a realistic mock interview with a time limit, a rubric and written feedback.
- Keep a mistakes log and turn recurring errors into targeted drills.
- Find mock partners and use recordings and review sessions well.
Solving problems alone at your desk trains one thing: solving problems alone at your desk. A real interview adds a stranger, a clock, a shared screen, and the need to think out loud. Mock interviews exist to train that. They are the difference between knowing an algorithm and being able to produce it in front of someone.
| Alone | In an interview |
|---|---|
| You can think silently | You must explain as you go |
| You can look things up | You cannot |
| No clock, or a loose one | A hard time limit |
| Nobody judges the process | The process is the thing being judged |
| Mistakes cost nothing | Mistakes feel public |
Mocks close that gap gradually. The first few feel awkward, and that is the point: the awkwardness is information.
Find a partner. Options include a friend or colleague who is also preparing, a peer from a study group or community, a more experienced engineer willing to help, or a paid mock-interview service. A partner who knows the format and will be honest is more valuable than a famous one.
Set it up like the real thing. Use the same tools the interview will use (a shared document, a plain editor, a whiteboard), the same time limit, and the same rules. Dress it as an interview: introduce yourself and ask clarifying questions.
Use a script for the interviewer. Give your partner a problem and a few hints to hold back. For coding, 45 minutes is typical: a few minutes to clarify, time to design, time to code, and time to test. For system design, 45 to 60 minutes, using the framework.
Take notes on both sides. The interviewer writes feedback during the session. You write down how it felt: where you froze, where you rushed, where you got unstuck.
Ask the interviewer to rate, with one sentence of evidence each:
| Dimension | Question |
|---|---|
| Problem solving | Did I clarify, find a brute force, and improve it logically? |
| Technical knowledge | Did I use the right data structures and know the complexities? |
| Code quality | Was the code correct, readable and tested? |
| Communication | Could they follow my thinking? Did I use hints well? |
| Composure | Did I recover from mistakes calmly? |
Evidence matters more than scores. "You went quiet for four minutes after the hint" is useful. "7 out of 10" is not.
After every practice session, add entries to a simple log:
| Date | Problem or topic | What went wrong | Root cause | Drill |
|---|---|---|---|---|
| Nov 3 | Sliding window | Moved the left pointer backwards | Missed the last >= left check | Redo three window problems |
| Nov 5 | Design: cache | Forgot failure cases | No habit of "break it" step | Add the step to my checklist |
The root cause column is the valuable one. "I made an off-by-one error" is a symptom. "I did not state the loop invariant" is a cause you can fix. Review the log weekly and look for patterns. A pattern means a drill, not just another problem.
| Weakness | Drill |
|---|---|
| Freezing at the start | Practise only the first five minutes (clarify, example, brute force) on ten problems |
| Going silent | Record yourself and count the seconds of silence |
| Slow coding | Re-implement a template from memory against a timer |
| Missing edge cases | Before coding, always list three edge cases aloud |
| Weak complexity analysis | After every problem, state time and space and name the variables |
| Rambling in design | Time-box each framework step and stop when the timer ends |
Record a mock (with your partner's permission) and watch it once, at normal speed, at least a day later. You will notice habits you cannot feel in the moment: filler words, long silences, saying "obviously" or "just", jumping into code too early. Watching yourself is uncomfortable and extremely effective.
- System design mocks: practise with a real diagram and a real clock.
- Behavioural mocks: have someone ask your story bank questions and push with follow-ups.
- Full-loop simulation: once, near the end, do several rounds in one sitting to practise stamina.
There is no magic number. A reasonable target is one or two a week in the later part of your plan, with more if you are improving and fewer if you are not learning from them. Quality beats quantity: three mocks with careful review teach more than ten without.
- Only practising alone, and never in realistic conditions.
- Getting soft feedback from partners who do not want to upset you. Ask for the hardest honest criticism.
- Not following up: feedback only helps if it changes what you do next.
- Doing mocks too late, so there is no time to fix what they reveal.
- Treating a bad mock as discouraging, when it is the cheapest place to fail.
Practise under realistic conditions with a partner, a clock and a rubric. Record what went wrong and why in a mistakes log, turn the patterns into drills, and review recordings. Start mocks early enough that you can act on what they reveal.
Try answering out loud before you reveal each answer.
QuestionWhy is solving problems alone not enough preparation?Reveal answer
A live interview adds a clock, a stranger, a shared screen and the need to think aloud. Practising alone does not train those skills, so mocks are needed to close the gap.
QuestionWhich column of the mistakes log is the most valuable, and why?Reveal answer
The root cause. A symptom such as an off-by-one error is a one-off, while a cause such as not stating the loop invariant is a habit you can fix with a drill.
QuestionWhat should you do if your mock partner gives only gentle, vague feedback?Reveal answer
Ask for specifics and the harshest honest criticism, with one sentence of evidence per rating. Vague praise cannot be acted on.