News for hackers. Stuff that matters.
Re:What do the best interviewers have in common? by Retra on Thursday November 30, 2017 @08:39PM (#15821286)
> I don't want to hire engineers who can only mimic.

How is a binary search not mimicry? Probably only 1 in a million people could figure out how to do it if they didn't already know how it is done elsewhere. The only reason most people know how binary search works is because they were taught it somewhere along the line.

Ask an interviewee how to Voronoi diagram the surface of a sphere or something. Then you'll see how things look when people don't do mimicry. You don't get original ideas by asking first-semester programming puzzles.

Re:What do the best interviewers have in common? by Double_a_92 on Friday December 01, 2017 @02:11AM (#15822463)
It's actually just how you would find a number in a paper phone book.
Re:What do the best interviewers have in common? by Retra on Saturday December 02, 2017 @10:31AM (#15832237)
No it's not. Some parts of a phone book search resemble a binary search, but choosing your pivot and processing the last few pages do not. I've never seen someone not do a linear scan at some point.

But all that's irrelevant to my point. Asking for a bog-standard solution to an industry-standard question is in no way a demonstration of someone's originality. You don't ask it to prove that they aren't doing "mimicry" you ask it to prove that they can, and thus are capable of learning the basic tools of their trade from others.

Re:What do the best interviewers have in common? by Banthum on Thursday November 30, 2017 @10:59PM (#15821805)
I'm pretty sure I independently invented binary search when I was a child (as have many others).

It's a pretty darn obvious thing to do when you're physically handling an ordered collection of records.

Re:What do the best interviewers have in common? by NTDF9 on Friday December 01, 2017 @12:41AM (#15822169)
It's the recursion (or parameters to functions in recursion that kills most candidates). It's pretty intuitive in the head.

But I agree, plain vanilla binary search is easy.

Re:What do the best interviewers have in common? by adrianN on Friday December 01, 2017 @03:10AM (#15822633)
People are free to implement an iterative version.
Re:What do the best interviewers have in common? by eccbits on Thursday November 30, 2017 @11:25PM (#15821886)
Exactly
Re:What do the best interviewers have in common? by ThrowawayR2 on Friday December 01, 2017 @03:11PM (#15826911)
> Probably only 1 in a million people could figure out how to do it if they didn't already know how it is done elsewhere.

They already know how it is done elsewhere; it's how one finds a word in a (paper) dictionary or an book index.