Code Interview Checklist

  1. ⁠Ask for clarifications on user input, constaints….etc
  2. ⁠Discuss multiple approaches and trade-offs (i.e discussed a brute force solution and its time complexity as well as an improvement and the new time complexity and provably another sub-optimal approach)
  3. ⁠Agree on one of the approaches above before you started coding? Did you get the buy-in of your interviewer?
  4. ⁠Once you started coding, did you communicate often saying what each line is doing?
  5. ⁠Did you do a dry run of your code? Like using a test case and updating the variables as you go like you would with a debugger?

Leave a Reply