by jiggy2011 · 13y ago · 0 comments
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.