News for hackers. Stuff that matters.
Re:What do the best interviewers have in common? by joshuamorton on Thursday November 30, 2017 @08:13PM (#15821182)
Does every language include a generic binary search method? Where?

Or similar, if I asked you to find a specific value in a list of Comparable objects, in my language of choice, how would you do it?

Re:What do the best interviewers have in common? by itronitron on Thursday November 30, 2017 @10:28PM (#15821682)
read pseudocode definition of the algorithm and implement in your language of choice, alternatively you could port from one language to another language
Re:What do the best interviewers have in common? by joshuamorton on Thursday November 30, 2017 @10:48PM (#15821764)
In which case I'm curious why it's an unreasonable interview question.

The argument is always "use the stdlib one", but if there isn't one, and you need to implement it, why isn't it fair game?

Re:What do the best interviewers have in common? by itronitron on Thursday November 30, 2017 @11:35PM (#15821933)
it's fair game, but to have the best shot of implementing the algorithm the correct way would be to look up the algorithm definition in a reputable algorithms book and implement directly from that, doing so also provides the developer with additional knowledge and context about the algorithm's use and performance characteristics, my 2 cents
Re:What do the best interviewers have in common? by joshuamorton on Thursday November 30, 2017 @11:49PM (#15822000)
Replace "algo book" with "person asking you the question", and I see relatively little difference.
Re:What do the best interviewers have in common? by mathgeek on Friday December 01, 2017 @06:58AM (#15823315)
One difference is that this penalizes people with social anxiety.
Re:What do the best interviewers have in common? by joshuamorton on Friday December 01, 2017 @11:24AM (#15824837)
Don't all in person interviews do this?
Re:What do the best interviewers have in common? by mathgeek on Saturday December 02, 2017 @02:16PM (#15833468)
Some more than others. It can be mitigated, and probably should be for certain roles.
Re:What do the best interviewers have in common? by sidlls on Friday December 01, 2017 @10:54AM (#15824547)
I guess it depends on what you're interviewing for. If you want a junior to implement specs he's given your point might apply. It's not an appropriate question for someone with basically any real experience, though. Especially not someone who you expect to do anything more complex, like engineering.
Re:What do the best interviewers have in common? by joshuamorton on Friday December 01, 2017 @09:25PM (#15829726)
So now I ask this:

Given that google probably does more software interviews than you do, why do you think they ask such questions, even to experienced candidates?