← Quiz: Technical Interviews: all 10 questions
Quiz: Technical Interviews · Question 8 of 10
After writing your code, what should you do before saying "done"?
After writing your code, what should you do before saying "done"?
- A.Ask for the next question
- B.Dry-run it on the example and on edge cases such as an empty array or duplicates
- C.Delete your comments
- D.Rewrite it in another language
Answer & explanation
Correct answer: Dry-run it on the example and on edge cases such as an empty array or duplicates
Testing aloud catches bugs and shows the interviewer how careful you are.
Can you get the rest right without peeking?
Take the timed Quiz: Technical Interviews quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →