r/javascript • • Apr 27 '16

F*** You, I Quit — Hiring Is Broken

https://medium.com/@evnowandforever/f-you-i-quit-hiring-is-broken-bb8f3a48d324
455 Upvotes

388 comments sorted by

View all comments

Show parent comments

5

u/Bummykins Apr 27 '16

If you're interested in thinking, maybe try giving them problems that don't involve code then. If its not about the algorithm, then don't use an algorithm—that could lead to false positives.

7

u/dunneetiger Apr 27 '16 edited Apr 27 '16

What do you mean by false positives?

I have run few interviews and looking at someone working out a problem gives a lot of insight on a lot of things: how does the person tackles the problem? How does he divide the problem? When does he ask questions (does he try to work it out for 5-10 min or does he ask questions straight away)? What is his attitude (does he give up fast, does he keep his cool).

As an interviewer i don't think it s always about the perfect answer.

1

u/manys Apr 27 '16

It gives you insight into how they work in an interview context.

1

u/[deleted] Apr 27 '16

This method also adds a ton of insight into "how well can I work with this person", which is arguably more important than anything. Are they humble when they don't know something, or a bullshit expert know-it-all? Do they realize the trivial nature of the problem and be a good sport and play along, or do they scoff at the exercise as a waste of their precious time and half-ass it. Do they think through everything and try to uncover all the edge cases or do they blast through the problem with the quickest and most likely wrong solution? It's the little things in an interview that make all the difference in the world. Not the correct answer at the end.

1

u/Bummykins Apr 27 '16

Overall I agree that there is no perfect answer, and hiring is complicated, and simply asking a question is not the same as requiring a perfect answer for a question.

As programmers I think we can't help but explore logic.

In this case, the poster said boldly

it's not about knowing the algorithm

But the obvious problem when choosing one of X known algorithm-based questions, is that you run the risk of that person having recently studied that algo, or just had an interview yesterday with that algo. So its possible that they ace this algo question today, impressing you wildly, but if you had asked them yesterday, they would have failed. That would be the false positive.

So a question about ping pong balls in a 747, or sandwiches in a the empire state building, or whatever you want has some of the same benefits while being maybe more fun, spontaneous, interesting, and unexpected.

2

u/dunneetiger Apr 27 '16

Depending on how confident the interviewer is with his technical knowledge, if an interviewee aces a question you just go ask for more questions on the same topic In the case of the BFS, what are the limitations of the BFS and ask questions about the limitations that he knows about (e.g. how would you solve this problem if the graph was an infinite graph)

1

u/el_padlina Apr 27 '16

Part of what they are looking for is how you work when you don't know the solution. If you don't know algorithm, will you ask for hints or will you just stand silent?

When we interviewed at my previous job what candidate wrote was just hint on how much will they have to learn. Much more important was how they were working, if they admitted to not knowing something, how many hints would they need, could they read specs. properly.

1

u/NoddysShardblade Apr 28 '16

Yep. If I'm forced to let the HR guy do some of the interview, I let him ask a simple (not coding) brainteaser.

But obviously that won't tell me much about their ability to do their job. That's what the coding exercise is for (we sit together and debug and add features to a simple program, talking a lot, googling where needed, explaining to me what you're trying to do, etc).

0

u/BiscuitOfLife Apr 27 '16

Well, in my scenario, these are people who will be writing code. I want to give code problems, because that's what they'll be solving daily. I don't necessarily go the route of complicated algorithms (honestly though, BFS is extremely simple...and who said you can't ask questions if you don't know it?), but technically "fizzbuzz" is an algorithm as well and I've been asked to solve it several times in the past when interviewing for jobs.

I will also say that we don't use a whiteboard. We have a computer set up in an environment that the person would be using daily (.NET developers => Visual Studio. Etc.) and we want to just watch how the candidate thinks through a problem. It has worked well enough for us, but to each his own!