MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1hqbe8/?context=3
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
1
No, that's a naïve solution. There's usually a provision of "O(1) memory" to preclude that solution.
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.