r/programming • u/speckz • Mar 01 '17
Programmers are confessing their coding sins to protest a broken job interview process. “Whiteboard” interviews are widely hated. They also discriminate against people who are already underrepresented in the field.
https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.0k
Upvotes
2
u/quicknir Mar 01 '17
I've asked, for instance, for someone to give me a data structure that you can push values into, and allows me to get the median in O(1) time. Sometimes people have seen it before, but usually they haven't. It gives me a chance to see that they can come up with a slow solution very quickly. That they have basic understanding of big O. See what data structures they think would be useful. If they don't see they need 2 heaps, I'll give them some subtle hints, and then bigger ones. Once they get the idea I start asking for details of the functions, branches in the logic. I ask if the class is maintaining invariants and what they are.
Maybe 5% of people admit they have seen it. Another 5% solve it quickly enough or in such a way that I suspect they may have seen it but not admitted it. In any case this is no big loss as it only takes about 5 minutes and I ask something else. Probably 10-15% do what I would consider a good job. They get the easy parts on their own, they make good use of hints, communicate well, describe correct logic and invariants, etc. A quarter or a third of people just do terribly; even with progressively larger hints they cannot make any independent progress. It usually takes me an hour to get someone through the problem in this case, and I don't need to ask them anything else because they are an easy reject. The remaining people (about half), do ok. My review would then depend on many other factors like other questions I asked them, their relevant experience and our discussion of them, whether it seems like they'll be easy to get along with, etc.
I'm pretty sure that this question, conducted well, provides a good amount of valuable information on candidates and I'm pretty happy with it. Being able to reject about a quarter of people with an interview I have put minimal time into preparing is already pretty good. And no, I don't shed any tears for those programmers; I hint pretty generously and I honestly expect that for a competent programmer that should be enough.
I know dozens of similar problems. The details of the problem are not really the key thing. As long as the difficulty of the problem is reasonable, you can learn quite a lot as long as you do a good job interviewing and try to explore various interesting things with the candidate and don't just frame it in a shitty Q&A format.