r/programming • • 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

717 comments sorted by

View all comments

Show parent comments

15

u/quicknir Mar 01 '17

It's not that hard to ask a problem that's relatively unlike to map exactly to something they saw in undergrad. There's a practically infinite number of subtly different algorithms problems. And if they are good at algorithms problems because they read a lot of blog posts, great, good for them! They'll shine in that part of the interview. Then we'll see how they do on other parts.

It's pretty easy to ask a problem that most people won't know the answer to already, but could easily solve with some good problem solving skills, CS knowledge, and intuition. All valuable skills for a candidate to have. I'm not sure why this is hard for you to accept.

10

u/rootbeer_racinette Mar 01 '17 edited Mar 01 '17

Why don't you name a couple?

From my experience they all follow a handful of tropes. Recursive evaluation, hash, heap sort, trie, etc.

I've seen many times over now that someone who can effectively use a debugger is 10x more valuable than someone who can write a trie.

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.

1

u/rootbeer_racinette Mar 01 '17

So a heap question. What does this have to do with your job again?

→ More replies (9)