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

4

u/cloakrune May 08 '15

In the example they have, if you alphabetize and concat them you don't even get the correct result they gave you.

1

u/Tysonzero May 08 '15

Yup, even if you classify "no digit" as coming AFTER "9" you still end up with edge cases that can fuck you. See here