Lets play a game of Russian roulette. You are tied to a chair and can,t get up.Here is the gun , six chambers all empty. Now I put two bullets in the gun and I put these bullets in the adjecent chambers. I close the barrel and spin it. I put the gun to your head and pull the trigger. Clik and the slot was empty. Now before we start the interview I want to pull the trigger one more time , which one do you prefer , that I spon the barrel first or that I just pull the trigger ?
Read Answers(68) | 29,996 Views |
Write an algorithm for Soduku puzzle
Read Answers(18) | 21,157 Views |
You have to get from point A to point B. You don’t know if you can get there. What would you do?
Read Answers(19) | 42,617 Views |
Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?
Read Answers(17) | 27,254 Views |
What method would you use to look up a name in a dictionary?
Read Answers(16) | 28,016 Views |
You’re in a library, given a bunch of books. You want be able to look for books without looking at every book every time. What algorithm would you use? why?
Read Answers(9) | 17,149 Views |
My friend was asked this question at MSFT:
Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announces that at least one husband has been unfaithful. What happens?
Read Answers(74) | 36,897 Views |
How would you design a spice rack for a blind person?
Read Answers(21) | 17,742 Views |
You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you fine the ball that is heavier by using a balance and only two weighings?
Read Answers(14) | 24,848 Views |
How do you cut a rectangular cake into two equal pieces when someone has already taken a rectangular piece from it?
The removed piece an be any size or at any place in the cake. You are only allowed one straight cut.
Read Answers(17) | 18,216 Views |