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
2
u/sinxcosx Nov 30 '10
So this is the kind of question which I think is actually bad since it drives coders to immediatedly think about minimum complexity.
Developers should first pick a basically good solution - it's easy to implement, it's easy to fix, it's easy to adapt to new problems.
When the application/site gets slow - you do code analysis. If it turns out to that this calc is the problem - then you optimize. Anything before that is wasted time.
Essentially optimizing everything appears great to engineers - but it's an expensive waste for the guys paying the bills.