0%
AI-Assisted Coding Interviews: Prompting, Reviewing AI Output, Testing, and Handling the Twist
How AI-Assisted Rounds Work
Prompting the Assistant
Reviewing AI Output
Thinking Out Loud
Pacing the Sixty Minutes
Sixty minutes feels like a lot of time at the start of a round and very little at the end. Candidates who run out of time rarely do so because the task was too big. Usually they spent too long on one part, went down a rabbit hole or never noticed they were behind until it was too late to adjust. A rough budget, with a few checkpoints, fixes most of this.
This lesson gives a default budget, shows how to check it during the round, covers what to do when you are behind and how to avoid rabbit holes and explains how to use the last ten minutes.
The default budget
A typical AI assisted round of sixty minutes divides roughly like this. Five minutes for introductions and the interviewer's explanation of the task and setup. Ten minutes for orientation: reading the README, the code and the tests, saying the rule back, mapping the tests and stating a plan. Twenty minutes for the first part of the task, including review and your own tests. Fifteen minutes for the twist, including the rule diff, examples and stepped changes. Ten minutes for the close: a final review of the full diff, cleanup and a summary.
These numbers are a starting point, not a rule. Some rounds have a longer introduction, some have no twist and some have two smaller ones. Adjust the budget once you know the shape of the round, which is usually clear in the first five minutes.
Why orientation gets ten minutes
Ten minutes of reading and planning can feel like a lot when the clock is running. But the previous lesson showed how orientation repays itself: a candidate who orients well writes better prompts, reviews faster and handles the twist with fewer surprises. In practice, candidates who skip orientation spend the saved time, and more, debugging problems they would have noticed by reading.
If the codebase is small, orientation may take five minutes. If it is larger, or the README is long, it may take twelve. The point is not the exact number but that orientation is a deliberate block with an end, not something you skip or let drift.
Why the close gets ten minutes
The close is the part most candidates squeeze. They work right up to the last minute and then give a rushed summary, or none. But the close is where you catch leftovers, such as debug prints, unused imports or a test you meant to add, and where you give the interviewer the summary they are most likely to write down. Reserving ten minutes, and starting the close on time, protects both.
Budgets in different formats
Some rounds are forty five minutes, some ninety. Scale the blocks roughly in proportion, but keep orientation and the close as fixed minimums: at least five minutes of orientation and at least five minutes of close, whatever the length. In a ninety minute round, the extra time usually goes into a larger first part or a second twist, not into a longer orientation.
Writing the budget down
At the start of the round, note the end time and the checkpoint times, either on paper or in a scratch file. Starting at 2:00, the checkpoints are 2:15, 2:35 and 2:50, and the round ends at 3:00. Seeing these times makes it much easier to notice drift than trying to do the arithmetic in your head under pressure.
Saying the budget aloud
It can help to tell the interviewer your plan briefly: I will spend about ten minutes reading, then build the parser and test it. This makes your pacing visible, and if the interviewer has a different expectation, such as a twist coming early, they may tell you.
A sample exchange
Interview Dialogue
Summary
Use a rough budget: five minutes intro, ten orientation, twenty first part, fifteen twist, ten close. Adjust it to the round's shape. Keep orientation and the close as fixed blocks, write down the checkpoint times and say the plan aloud.
The introduction block
The first five minutes usually belong to the interviewer: introductions, a description of the format, a tour of the editor and the assistant and perhaps a few words about the codebase. Use this time well. Listen for details that affect your budget: whether there is a twist, how long the round really is, whether you may use the internet or only the assistant and whether there are tests you are expected to run. Ask if any of these are unclear. A question such as will there be a follow up part, or is this the whole task? is reasonable and often answered.
If the interviewer says the round has two parts, you can plan for the twist. If they say nothing, assume there will be one and keep the first part small enough to finish by about minute thirty five.
Shapes of round
Not every round has the same shape. Four are common. The build round asks you to implement a feature from a README, then adds a twist. The fix round gives you failing tests or a bug report and asks you to fix it, then adds a related change. The extend round gives you a working feature and asks you to extend it in two or three stages, each one a small twist. The review round asks you to review and improve code the assistant has already written. Each shape shifts the budget slightly.
In a fix round, orientation includes reproducing the bug, so it may take longer, but the first part may be short. In an extend round, the blocks are smaller and more numerous, with a checkpoint after each stage. In a review round, most of the time goes to reading and testing, with less building. Identify the shape in the first five minutes and adjust.
Budgeting by risk
Within the first part, budget time by risk rather than by line count. The riskiest clause, such as a boundary or a units rule, deserves more time than a routine one. If your orientation list marks one clause as tricky, plan to spend a few extra minutes on its test. A budget that gives every clause equal time usually underspends on the one that matters.
When the task looks too big
Sometimes the task looks too big for sixty minutes. Say so early and propose a scope: this looks like more than an hour of work. I suggest the core import and validation first, then the summary endpoint if time allows. Does that match what you expect? Interviewers often design tasks to be slightly larger than the time, to see how candidates prioritise. A stated, agreed scope protects you from feeling behind all round.
When the task looks too small
Occasionally the first part looks very small. Do not rush it. Use the extra time to test it thoroughly and review it carefully, because a small task in an interview usually hides a trap or precedes a larger twist. Finishing early with a well tested first part puts you in the best position for whatever comes next.
Budgets and anxiety
A budget also helps with nerves. Many candidates feel behind from the first minute simply because the clock is running. Knowing that ten minutes of orientation is planned, and that the first checkpoint is at minute fifteen, makes it easier to read calmly. The budget gives you permission to spend time where it matters.
A last word on the budget
The budget is a tool for noticing, not a schedule to obey. When reality differs, adjust it out loud and carry on.
A plan you can change is far better than no plan at all.
Note the end time and the times for minutes fifteen, thirty five and fifty at the start. Clock arithmetic under pressure is where drift goes unnoticed.