4 ms·
> The interviewer asked a simple question designed to screen the clinically incompetent Have you actually interviewed developers? I have interviewed around 50-
by imaginenore 12y ago
> The interviewer asked a simple question designed to screen the clinically incompetent
Have you actually interviewed developers? I have interviewed around 50-60. There's absolutely no way even 2% would answer that question correctly, unless we're talking Google/Apple/Facebook candidates.
I myself would probably fail to remember Floyd's algorithm, it's been too many years since my comp sci competition days (I used to do ACM, Topcoder, others). But I can certainly find it and implement it if I ever face a problem like that.
If you had recently graduated, it may not seem that way, but wait 20 years, and all the algos that you don't use regularly will be forgotten.
If you're going to ask tricky algo questions, you must allow people to use the internet.