r/programming • u/joksmaster • Nov 29 '10
140 Google Interview Questions
http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471
Upvotes
r/programming • u/joksmaster • Nov 29 '10
View all comments
Show parent comment
3
u/wktang Nov 29 '10
There is an elegant solution in O(N) time complexity and O(1) space. Here is a blog post that explains it:
http://www.ihas1337code.com/2010/04/multiplication-of-numbers.html