Coding Interview Practice Workflow: A Repeatable Routine
Last updated October 11, 2026

Short answer: practise each problem as a timed, spoken session with a fixed loop: clarify, test examples, state a brute force, optimise, code, test, then review. Log the problem, the pattern, where you got stuck, and when to redo it. A repeatable workflow practised several times a week outperforms grinding through a long list of problems without reflection.
The key idea: the interview scores how you work, not only whether you reach the answer. Your practice should rehearse the process you want to show.
Why volume alone is not a workflow
Many candidates measure preparation by problem count. That tells you how much you have seen, not how you will perform under a clock with someone watching. Two common failures come from this:
- Silent solving. You can solve it at home, but in the interview you go quiet, and the interviewer has nothing to evaluate.
- One-and-done. You solve a problem once, move on, and forget the pattern a week later.
A workflow fixes both. It builds speaking into every session and builds review and repetition into the schedule. For the patterns themselves, see coding interview fundamentals; this guide is about how you practise them.
The seven-step loop
Set a timer for the length of the real round, commonly 45 minutes. Work in a plain editor without autocomplete, in the language you will use. Narrate aloud. The table below is a template for how to divide the time; adjust it to your round.
| Step | What you do | About |
|---|---|---|
| 1. Clarify | Restate the problem. Ask about input size, edge cases, duplicates, what to return when empty. | 3 to 5 min |
| 2. Examples | Work one normal and one edge example by hand. | 3 to 5 min |
| 3. Brute force | State the simplest correct approach and its complexity. | 2 to 3 min |
| 4. Optimise | Name the bottleneck. Choose a pattern and say why it fits. | 5 to 7 min |
| 5. Code | Write clean code, narrating decisions. Use clear names. | 15 to 20 min |
| 6. Test | Trace your examples through the code. Fix bugs calmly. | 5 min |
| 7. Review | State final complexity and one alternative. Then, after the timer, log it. | Last few min |
The same structure appears in most interview rubrics: understanding, approach, implementation, verification and communication. Practising it until it is automatic means you spend your attention on the problem, not on remembering what to do next.
Think aloud: a short script
Narrating feels unnatural at first. Use a few stock phrases until it becomes habit.
- "Let me restate the problem to check I understand it."
- "A brute force approach would be X, which is O of n squared. The bottleneck is Y."
- "This looks like a sliding window problem because we need a contiguous range."
- "I will handle the empty input first, then the main case."
- "Let me trace this with the example to check the boundaries."
Record yourself once a week. Listen for silences longer than 15 seconds and for places where you stopped explaining. That is where interviewers lose the thread too. For a live coding environment specifically, our CoderPad best practices cover the shared-editor etiquette.
The problem log
After each session, spend five minutes writing a row in a spreadsheet or note. This is what turns practice into learning.
| Field | What to write |
|---|---|
| Problem and link | Name and where you found it |
| Pattern | Hash map, two pointers, BFS, DP, and so on |
| Result | Solved clean, solved with hints, not solved |
| Where you got stuck | One sentence. What was the signal you missed? |
| Bug or mistake | Off-by-one, forgot empty case, wrong data structure |
| Redo date | Two to three days later, then a week later |
The "signal you missed" column is the most valuable. Patterns announce themselves: "sorted array" suggests binary search, "contiguous subarray" suggests sliding window. Writing the missed signal trains you to notice it next time.
Hints and solutions: a timebox rule
You will get stuck. Decide in advance what to do, so you do not stare at a problem for an hour or read the answer in a panic.
- Work independently until your timebox, say 20 to 25 minutes for a medium problem.
- Take one small hint, such as the pattern name, then continue.
- If you are still stuck, read the approach, not the code. Close it and implement from memory.
- Log it and schedule a redo.
In practice, using an AI tool or a person for hints is perfectly reasonable. In a real assessment it depends on the rules, which you should always check first; see HackerRank proctored assessment rules and how to ask a recruiter.
A weekly rhythm that is easy to keep
This is one workable structure, not a prescription. Adjust it to your timeline and your starting level.
| Day | Session |
|---|---|
| Mon | New problem, full loop, log it |
| Tue | New problem in a different pattern, log it |
| Wed | Redo a problem from last week without notes |
| Thu | New problem, with a stricter timer |
| Fri | Short review: re-read log, list the patterns that keep appearing as weak |
| Weekend | One full mock interview, ideally with a person or a simulator |
If you can only manage three sessions a week, keep one new problem, one redo and one mock. Consistency matters more than total volume. For the timeline across weeks before a loop, see the interview preparation timeline.
Simulate the real round at the end
Once the loop feels natural, add realism. Use a shared editor, turn off autocomplete, and have someone ask follow-up questions: "What is the time complexity?", "What if the input is a stream?", "How would you test this?". A coding practice session or a mock interview can play that role if you do not have a partner. Review the session using the four-pass method in mock interview feedback.
If your loop includes system design, a different practice rhythm applies; start with system design fundamentals.
Common workflow mistakes
- Practising with autocomplete and a search tab. It hides the gaps you will meet in a plain editor.
- Never speaking. If you only code silently, you are rehearsing the wrong skill.
- Skipping the redo. A problem you solved once and never saw again is mostly forgotten.
- Always choosing comfortable topics. Use the log to find the pattern you avoid and schedule it.
- Changing language. Pick one and stay with it for the whole prep period.
Frequently asked questions
How many problems should I do per week?
There is no magic number. Three to five focused sessions with a log and a redo is a sustainable pattern for many people. Quality of review matters more than count.
How long should I spend stuck before looking at a hint?
A common rule is 20 to 25 minutes for a medium problem. Take a small hint first, and only read the approach if you are still stuck.
Should I practise on paper or in an editor?
Both help. Use a plain editor for most sessions, and occasionally paper or a whiteboard if your loop includes one. The point is to rehearse without autocomplete.
How do I practise explaining out loud when I have no partner?
Narrate to a recording or to a mock interview tool. Play it back and note silences and unclear explanations. Add a partner when you can.
Is it fine to use AI while practising?
For practice, many people use AI for hints or to review their solutions after the timer ends. In a real assessment, follow the employer's rules and ask if they are unclear.
Put this into practice
Continue with the Aissence workflow this guide supports.