Interview glossary / Technical rounds

Dry run

Also called: Trace through · Walkthrough

Stepping through your code by hand with a small example, tracking variables line by line, to check it works before or instead of running it.

In whiteboard and plain-editor interviews, a dry run is how you test. It catches off-by-one errors, wrong loop bounds and missed updates, and shows the interviewer you verify your own work.

In an interview

Pick a small but non-trivial input, trace it out loud and fix anything you find calmly. Finding your own bug counts in your favour.

Related terms

Interview questions that use it

· All terms ·