Why we don't hire programmers based on puzzles, API quizzes, math riddles, or other parlor tricks
I’ve known fabulous programmers flame out in the quizzing cage and terrible ones excel. So unless you’re specifically hiring someone to design you the next sorting algorithm, making them do so on the white board is a poor gauge of future success.
— 37signals