r/programming • • May 08 '15

Five programming problems every Software Engineer should be able to solve in less than 1 hour

https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k Upvotes

2.1k comments sorted by

View all comments

7

u/ph0bitor May 08 '15

Blogs like these and the resultant threads always make me realize how many people in this field are super arrogant jerks. Lambasting people or trying to strip them of their title by asking tricky or unfamiliar questions reeks of having a superiority complex.

If someone has a CS or SE degree, they've likely gone through a fairly rigorous curriculum and telling them they don't deserve it because they can't connect all the dots you want on the odd interview question just makes you sound like a prick. If you want to make answering all these questions successfully a requirement for employment at your company that's fine, but please fuck off with the 'holier than thou' attitude already.

I don't see any other group of professionals incessantly blog or comment at how incapable their peers are.

4

u/fiercekittenz May 08 '15 edited May 08 '15

I tend to agree with your sentiments. I'm not saying there isn't value in asking people to solve problems during interviews. However, there's a big difference between seeing how the candidate thinks and attempts to solve a problem and whether it's right or wrong. With problem #5, if a candidate made a good effort, didn't have a little freak out, and was able to think critically through the problem, I'd be ok with that.

0

u/[deleted] May 08 '15

[deleted]

4

u/ph0bitor May 08 '15

I've heard the whole 'thought process' thing a lot, but I don't think that posting 5 questions and saying what amounts to "If you can't do this, re-evaluate your life you piece of shit" is like that at all. Its a set of fixed questions with a time limit, and if you don't get them then don't let the door hit your ass on the way out.

I've never had a programming interview with exercises like the post presented that have been about 'thought process'. Long and structural questions where you work out a solution in multiple steps show a thought process. Which of the first three show any drawn out thought process? The questions posted are just a filter.

Also regarding 'tricky': For me the first 3 were straightforward. The 4th requires a 'trick', or at least getting the sort criteria is nonobvious to me. I didn't bother with the 5th but it seems like you're supposed to brute force it.