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