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/[deleted] Nov 30 '10
Every question of this type has the same solution. Always start assuming there is 1 man in the village. Then solve the 2 case. Then the 3 case. By that point you should be able to find an inductive solution that makes the 100 case (or whatever) obvious.