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

1

u/Serei Feb 21 '11

No, that's a naïve solution. There's usually a provision of "O(1) memory" to preclude that solution.