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/matthieum May 08 '15
The 5th one should be brute-forced (your method of choice) because it only has 38 possibilities anyway (
3**8 = 9**4 < 10,000).There may be a trick, but if you look carefully at the other 4 problems they are not trick questions or algorithm questions; all 5 can be brute-forced quickly enough on a modern computer.