Microsoft Interview Puzzles
-
One day three Greek philosophers settled under the shade of an olive tree, opened a bottle of Retsina, and began a lengthy discussion of the Fundamental Ontological Question: Why does anything exist?
After a while, they began to ramble. Then, one by one, they fell asleep.
While the men slept, three owls, one above each philosopher, completed their digestive process, dropped a present on each philosopher’s forehead, the flew off with a noisy “hoot.”
Perhaps the hoot awakened the philosophers. As soon as they looked at each other, all three began, simultaneously, to laugh. Then, one of them abruptly stopped laughing. Why?
View SolutionSubmit Solution- 1,614.1K views
- 1 answers
- 0 votes
-
We have an egg problem again. There is a 36 story building for which you have complete access. You have two eggs and you must follow the below facts:
An egg that does not breaks on falling can be re used.
1) A broken egg will be discarded immediately
2) All the eggs will experience the same effect of the fall as all the eggs are identical.
3) Suppose if an egg breaks on falling from first floor, it will definitely break from all the floors above the first floor.
4) If an egg does not breaks from falling from the thirty sixth floor, it will not break from all the floor below it as well.
5) All you have to do is find out the minimum drops with which you can determine the floor which is safe to drop eggs from.
View SolutionSubmit Solution- 1,612.9K views
- 1 answers
- 0 votes
-
A train is moving from station A to station B at 15 mph. Another train is moving in the opposite direction from station B to A at a speed of 20mph. A vulture is flying from Station A to station B at 25 mph. When the vulture reaches at the train moving from Station B to A, it starts flying back and flies at the same speed till it reaches the train moving from station A to B and starts flying in the reverse direction again. The vulture keeps flying to and fro till both the trains collide with each other.
What is the total distance that is traveled by the vulture?
View SolutionSubmit Solution- 1,612.7K views
- 1 answers
- 0 votes
-
You are a king of an empire. You have a servant working in your palace. He works all the seven days and you only pay him in the form of gold bar. You must pay the worker for his work every day at the end of the day.
If you are only able to make two breaks in the gold bar, how will you pay the servant if the servant works for the equal time every day and thus equal amount must be paid at the end of the day?
View SolutionSubmit Solution- 1,613.5K views
- 1 answers
- 0 votes
-
Amanda dies and reaches at the gate of heaven. She has three doors in front of her out of which only one of them leads to heaven. Out of the other two gates, one leads to hell for one day and then back to the gate and one leads to hell for two days and then back to the gate. If she chooses one of these two gates, the gates are shuffled when she returns back.
How long will Amanda take to reach heaven?
View SolutionSubmit Solution- 1,613.4K views
- 2 answers
- 1 votes
-
23 selected prisoners are summoned by the warden. He gives them a choice of playing a game with him that might ensure their escape from the prison or might as well lead them towards painful death. The prisoners think that this is the only chance for them to be free again and agrees to him.
The warden tell them that there is a room which has just two switches which are labelled 1 or 2. The switches may be up or down and the condition is not known at present. They are not connected to anything. The warden may select any prisoner on any day and send him to the switch room. The prisoner will have to select any one switch and reverse its position i.e. if it is up, he will turn it down and if it is down, he will turn it up. He can and must only flip one switch and then he will be confined to his cell again.
The warden may choose the same prisoner more than one time and he will be choosing completely randomly. But at a certain point of time, everyone will have visited the switch room. And at any time, the prisoners may declare that everyone has visited the room at least once. If they will be true, they will be set free but if they will be wrong, they will be killed.
The warden gives them an hour to plan any kind of strategy and then they will be confined to their respective cells and will never be allowed to meet. What strategy can help them be free?
View SolutionSubmit Solution- 1,614.8K views
- 1 answers
- 1 votes
-
On a windy rainy night , I was driving in my car.
When i reach the bus stand , i see three people waiting for the bus.1. An old lady who needs an immediate medical attention
2. My Best Friend
3. Girl whom i love from childhoodMy car is a two seater, so can you tell me , what i have done in this situation ?
View SolutionSubmit Solution- 1,613.0K views
- 1 answers
- 1 votes
-
The number of hours left today is half of the number of hours already passed. What time is it?
A. 8:00 a.m.
B. 12:00
C. 14:00
D. 16:00View SolutionSubmit Solution- 1,613.7K views
- 1 answers
- 0 votes
-
Meanwhile, back at the castle, the ogre found that the
boots he had picked at random from his dark storeroom
were all six-league boots. He threw them back. He
needed seven-league boots so that he could cover more
territory.
If in that dark storeroom he had four six-league boots
and eight seven-league boots, how many boots did he
have to pull out to make sure he had a pair of sevenleague
boots?View SolutionSubmit Solution- 1,613.3K views
- 1 answers
- 0 votes