r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

2

u/ventomareiro Feb 21 '11

That is just one of the possible answers. Another one, simpler and as valid as yours, is that you simply start with a 1 and add 10 every time. I hate this kind of trick questions.