Earlier quoted context omitted.
We always tell our candidates in advance what algorithms we'll be quizzing them on. And it's pretty much always: + fibbonacci + a sort + a linked list I like having candidates write out these problems on paper because it shows that they know how to think about code. Fibbonacci allows us to see that they have basic recursion understanding, and basic iterative loop understanding. Linked lists shows us that they underst…
How do you figure from a Fibonacci exercise that the candidate understands recursion? It's 5 lines of code to memorize.
Second level is how they explain the simple recursion that’ll hit stack limits (i.e. without tail recursion)
Third level is using accumulator/tail recursion.
See how they can express these ideas and are they able to effectively communicate their intentions.