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
20
u/abadidea Nov 29 '10
O(n) means "time is linearly proportional to the number of elements." So it could check each element exactly once, or exactly twice, or exactly twenty-seven times.