|
面试时最经常被问到的问题(Frenquently asked interview questions)之Analytical, puzzles, and brain-teasers篇(3) 2. There are only two cases under which the ants won't collide : A->B, B->C, C->A and A->C, C->B and B->A 3. Therefore, probability of ants not colliding : 2/8 = 1/4. ---This assumes that ants move in a straight line, as we know they don't. They move all over the place, in random directions, eventually ending up in their final destinations. Although Microsoft asked me this question and was looking for the answer mentioned by other posters, they gave extra credit for what I eXPlained. --- You are all wrong! You have made not one but three obvious assumptions! 1) They move in straight lines. 2) They start within the confines of the triangle. 3) They stay within the confines of the triangle. Moral: Think out of the triangle!! 5、Three men were renting a motel figuring the room cost 30 dollars they would pitch in ten a piece. The room was only 25 so they each gave the bell boy ten,(tip)the bellboy didn"t think that would be fair so he gave them each back 1 dollar and kept 2 for himself. What happened to the other dollar? ( sent by MACSabastion@webtv.net ) Oh after giving it some thought actually I was right, there isn't any missing dollar. If you go backwards you come up to this:
|