Technical Questions - Walkthrough

1. Listen Carefully.

  • If a question starts with, Given you have a sorted array, find... you already know that the array is sorted. Remember this. There is a more than likeley chance you will have to use this information.
  • May be useful to write pertinent information down before beginning a problem.

2. Draw an Example.

  • You want to draw or write a complex example. Most likely, the interviewer will give a purposely weak test case to see if the candidate will catch on that there will be edge cases needed to be tested.
  • Be specific when writing an example.
  • Sufficiently large data set.
  • Not a special case. A special case may indicate a conditional branch or incorrect solution that might change the focus of the question.

3. State a Brute Force.

  • Don't implement it but state that you know how to solve it with a brute force and improve it from there.

4. Optimize it.

  • Look for unused information.

5. Walk through.

  • Understand what you're going

results matching ""

    No results matching ""