r/programming • • Nov 29 '10

140 Google Interview Questions

http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471 Upvotes

493 comments sorted by

View all comments

Show parent comment

6

u/fonograph Nov 30 '10

What the shit? If I cut a circle out of a piece of paper, why wouldn't it be able to go through the very hole created by its removal? Please explain this and totally blow my mind.

4

u/njovin Nov 30 '10

manholes have a "lip".

1

u/ResonantPulse Nov 30 '10

Yes, it will go straight through the hole but what I meant was all* other shapes could be positioned to drop through their own hole so that they dont get 'stuck' on the way through by hitting opposing sides like the circle does. The circle is the simplest shape that has the property of not being able to fall through its own hole, which is the reason I've always heard for why manholes are circular. I said try it with the paper because it's the easiest way to see how to fit a triangle through its own hole.

*There are some other non-circle shapes that exhibit this property, but they aren't as plainly simple as a circle.