|
面试时最经常被问到的问题(Frenquently asked interview questions)之Analytical, puzzles, and brain-teasers篇(2) If ( the answer is dig a hole, let water bubble up) { I would say I "remove" a state lack of water supply. } else if ( the answer is give it up or give it away to other countries ) { I would say it's some state with the biggest area of desert. And I would definitely trade sth. back from whom want it } else // default, { I will keep it for possible future usage } 3.If you are on a boat and you throw out a suitcase, will the level of water increase? -- The answer is: it depends on the density of the briefcase. While the briefcase is in the boat, it will displace it's weight in water. If the briefcase floats after you toss it out, then it still displaces its weight in water, and there is no change. However, if the briefcase is heavier than water it will displace its volume, not its weight. The amount of displaced water will be less (which is why it sank) and the water level will decrease. -- The other question is whether or not the suitcase is thrown in the water. If it is thrown on to a dock or land, then the level will decrease due to less weight in the boat. 4.There are 3 ants at 3 corners of a triangle, they randomly start moving towards another corner. What is the probability that they don't collide? --- 1. Let's mark the corners of the triangle as A,B,C.
|