4 ms·
> It is a trivial task but many seasoned people failed it to the extent that we thought "you don't really know Java, do you?". This is the kind of bias that I
by projektir 10y ago
> It is a trivial task but many seasoned people failed it to the extent that we thought "you don't really know Java, do you?".
This is the kind of bias that I think an interviewer should never have, and part of what makes interviews so stressful: that your ability is called into question off of something very simple. You don't know whether the candidate knows Java or not. You only know that the result of the interview is negative, which could say just as much about the interview as it does about the candidate. Assuming "you don't really know Java, do you?" with so little evidence strikes me as disrespectful at best. Why is this considered OK?
ashark makes a lot of very good points as to why someone may know Java but stumble with this question.
- nissimk 10y agoExactly. So many of the proponents of the whiteboard algorithm question industry are thoroughly convinced that they are eliminating people who will fail on the job. Of course it's impossible to verify this. The only thing you can verify is the performance of candidates that do pass your test and you subsequently hire. I'm sure there are a lot of bad hires even at the companies where they use these interview techniques. The believers are clouded by survivorship bias and confirmation bias. They get no information from those that they reject and they refuse to acknowledge the bad people that they accept. Didn't the guy who started WhatsApp fail his facebook interview? :-) http://www.businessinsider.com/facebook-rejected-whatsapp-co-founder-brian-acton-for-a-job-back-in-2009-2014-2 http://www.businessinsider.com/facebook-rejected-whatsapp-co... Here is some debunking of other commonly held misconceptions about this interview strategy: 1) The questions are not tricks -- actually every coding algorithm question that has a "naive" solution and an optimized solution requires a trick. That's why you can study for these interviews. The studying involves memorizing the catalog of tricks and identifying which one to apply based on the question. Even the simplest and most commonly used tricks (using a hash table, multiple pointers into the same array / multiple accumulators, bit shifting) are still tricks. 2) The interviewers have a large catalog of these questions so you're not going to pass by memorizing stuff. As I mentioned in #1 above, this is false. The list of tricks that need to be employed to solve these puzzles is finite and definitely less than 100. Most common interviews will probably be solved by one of the top 10 tricks. This page has 80 solutions: http://www.geeksforgeeks.org/top-10-algorithms-in-interview-questions/ http://www.geeksforgeeks.org/top-10-algorithms-in-interview-... 3) This method may have too many false negatives (when they reject a candidate who would have been a good member of the team) but it eliminates false positives (when they hire a candidate who cannot code). With enough dedication and time, anybody can train to pass these. It's not really a skill that is super useful for getting things done in a programming job. Some people are very good at riddles but have no common sense. They do not make good members of a software development team but they are very good at these interviews.
- orless 10y agoTricks? Algorithms? Puzzles? Riddles? Are we still talking about string reversal task?
- orless 10y agoYou write "with so little evidence" without knowing what the evidence actually was.