If people didn't routinely fail simple "can you think and write it in code" problems like fizz buzz I wouldn't ask them. But they do so I do.
Dijkstra observed that the majority of working programmers can't even write a correct binary search. I tried using it as an interview question and gave up because nobody got it right.
Dijkstra observed that the majority of working programmers can't even write a correct binary search. I tried using it as an interview question and gave up because nobody got it right.