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/WeAreAllApes May 08 '15
The point is to time box them, watch, ask questions, and give hints if needed. The way it almost always goes is either:
(1) They can't produce anything close and they react with a blank stare when you try to give hints (no hire) or (2) They produce a non-optimal algorithm pretty quickly and you use that as a stepping stone to discuss its properties, performance, improvements, style, etc.
If someone did quickly produce a perfect algorithm, perfectly written, I would still ask them challenging questions about it and less optimal variants to make sure they understand what they are doing. Such a person would not automatically be assumed to be better than a person in category (2) from their code alone.