r/programming • • May 09 '15

"Real programmers can do these problems easily"; author posts invalid solution to #4

https://blog.svpino.com/2015/05/08/solution-to-problem-4
3.1k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

45

u/FlyingBishop May 09 '15

1-3 are great because they give pretty strong confidence that the interviewee hasn't actually spent much time coding.

4-5 are not so great because they're a little trickier and don't necessarily reflect on-the-job skills.

(Although, in an interview I'm not usually looking for the "right answer" I'm looking for something that looks like it could be the right answer, which is pretty easy to get to for 4-5. It's somewhat unfair to expect people to find all the edge cases for a potentially unfamiliar problem in an hour.)

25

u/donalmacc May 09 '15

4 perfectly reflects on the job skills. It's an arbitrary problem that could be anything, but has a whole pile of edge cases that the candidate must consider. I don't know about you, but in my day to day work I have to consider edge cases all the time.

4

u/[deleted] May 09 '15

Do you normally test people in on the job problems without access to on the job resources? Like the Internet?

4

u/donalmacc May 09 '15

I don't expect people to solve an entire problem in ~1 hour in the real environment either, and I'm not going to ask someone to come in for a week or two weeks to undertake a full problem in "real life conditions". That's what the three month probationary period is. However, in a meeting with a co worker I would expect that the co worker would be able to consider a problem and come up with some of the pros and cons of the problem without having to look absolutely everything up.

→ More replies (1)