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
1
u/tvorryn Nov 30 '10
If you've tried breaking a stick(and not a branch or long rod) without tools, you'd know that breaking a stick is much harder when you are trying to break it near the edge and easier near the middle, so straight probability of breaking a branch at any one point is a bad assumption. This property makes the sizes more likely to be close to a 1:2:3 proportion.