by garretr · 13y ago · 0 comments
I'm a big proponent of tough, small problems in an interview, that the candidate has never seen before. Much like the author is against. This is because it has been the best indicator of performance in my experience.
What the author was against are the riddles, which are proven to be ineffective in determining the general aptitude of the engineers, and that's why the companies that used to use them (MS and Google, for example) have mostly banned those.
Even fairly general stuff like implementing balanced search trees will likely be biased towards younger candidates who are fresh from university.
You can also test the interviewee's knowledge of Big-O, time efficiency vs space efficiency, etc without going into obscure data structures.
For loops that manipulate strings in various ways however is probably something that most programmers will have wrestled with reasonably regularly I imagine.