On a great interview question
I think this is a reasonable question, probably better for students who still remember their O&#x27;s and Tries but reasonable enough for the intermediate quality solution -- an engineer who cannot even solve the simpler version probably cannot write algorithms at all.<p>That said, from the article this article links to, I find this puzzling:<p>&gt; <i>The candidate’s performance on the problem isn’t binary. The worst candidates don’t even manage to implement the fizzbuzz solution in 45 minutes. The best implement a memoized solution in 10 minutes, allowing you to make the problem even more interesting, e.g., asking how they would handle a dictionary too large to fit in main memory. Most candidates perform somewhere in the middle.</i><p>Two things I worry about: if the interview isn&#x27;t &quot;binary&quot;, how do you decide whether the candidate passed? Is doing just the simpler version fine as long as you ask for low pay? Or are you still failed? Or does it depend on whether other candidates did better, which is another way of saying you failed? It seems to me it&#x27;s still binary.<p>And the other thing is: if the candidate did great in 10&#x27;, please don&#x27;t ask additional questions. The candidate is a &quot;hire&quot;. Don&#x27;t make it &quot;interesting&quot;, an interview is not the place to shake things up to make it &quot;interesting&quot;. Understand that for most people, interviewing is a stressful situation. For &quot;interesting&quot; times they have their friends and Netflix.