Learn
Technical Interviews: Whiteboarding
Testing with Inputs

With a working implementation on the whiteboard, use the test inputs to walk through the evaluation of your code.

Write out any temporary variables on the board and update them when they change during execution.

This is another opportunity to showcase your communication skills, and will help you catch any logical errors which you may not have noticed in earlier steps.

If you catch an error, don’t panic! Mistakes happen. Explain the issue and talk through what you can do to fix the bug.

Your interviewer may want to see you write the correction or they may be satisfied with the explanation.

Instructions

Use your test inputs and implementation to talk through your solution.

Again, say each line aloud so you become more comfortable speaking about the code you’ve written.

Track the variables used and update them as you go.

Folder Icon

Sign up to start coding

Already have an account?