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
2
u/DuneBug May 08 '15
First 3 are pretty basic... Stuff you could be able to do after your first compSci class if you actually understood the material.
At the end of the day #5 has very little to do with programming or problem solving. I think it's a reasonable question to give someone that has a day to solve it, but not an hour. The OP's solution is like 40 lines of code... You're expecting someone to solve that in under an hour, during an interview?
Maybe I'm bitter because I wouldn't be able to solve it (not sure actually?), and I know some people that probably could. But it's used as some litmus test for programming or software engineering when it has very little application to either. If this is your boolean for "can this guy code" you'll turn down a lot of people who can code software, and accept the people who can code recursive functions manipulating integers... Who might also be able to write software.