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

Show parent comments

1

u/monkeycalculator May 08 '15

You need to consider more than the first number. Consider 5, 22, 23, 3, 193.

0

u/cresquin May 08 '15

5, 3, 23, 22, 193

the sort is by each successive digit