Interview Puzzle
-
Mr. PK was all set to go to the village of WonderLand to meet his friend. So, he packed his bags and left for the village at 5 in the morning. Upon traveling on a road for miles, he came across a point where the road diverged into two. He was confused on which road to take. He gazed around and he saw two owls sitting on a branch. He thought he could ask for directions for the village from the two owls. So he went to the tree. There he saw a sign which read,
“One owl always lies, and one is always truthful. They both fly away if you ask them more than 1 question.”Mr. PK was caught in the dilemma of what to ask? And from which owl to ask, since he only had one question. What should Mr. PK ask?
View SolutionSubmit Solution- 1,802.4K views
- 2 answers
- 0 votes
-
A spider is trying to build a web for itself. It doubles the work done everyday.
If the spider completely built the web in 15 days, how many days did it take for the spider to build 25% of the web ?
View SolutionSubmit Solution- 1,814.6K views
- 1 answers
- 0 votes
-
A traveler arrives in a small town and decides he wants to get a haircut. There are only two barbershops in town – one on East Street and one on West Street. The East Street barbershop is a mess, and the barber has the worst haircut the traveler has ever seen. The West Street barbershop is neat and clean, its barber’s hair looks as good as a movie star’s.
Which barbershop does the traveler go to for his haircut, and why?
View SolutionSubmit Solution- 1,806.4K views
- 2 answers
- 0 votes
-
There are six eggs in the basket. Six people each take one of the eggs.
How can it be that one egg is left in the basket?
View SolutionSubmit Solution- 1,807.3K views
- 1 answers
- 0 votes
-
At a party there were 7 boys and 6 girls. Every boy danced with every girl. Draw the graph representing the dancing. How many edges does it have? What are its degrees?
View SolutionSubmit Solution- 1,805.7K views
- 1 answers
- 0 votes
-
Consider a two player coin game where each player gets turn one by one. There is a row of even number of coins, and a player on his/her turn can pick a coin from any of the two corners of the row. The player that collects coins with more value wins the game. Develop a strategy for the player making the first turn, such he/she never looses the game.
Note that the strategy to pick maximum of two corners may not work. In the following example, first player looses the game when he/she uses strategy to pick maximum of two corners.
Example 18 20 15 30 10 14 First Player picks 18, now row of coins is 20 15 30 10 14 Second player picks 20, now row of coins is 15 30 10 14 First Player picks 15, now row of coins is 30 10 14 Second player picks 30, now row of coins is 10 14 First Player picks 14, now row of coins is 10 Second player picks 10, game over. The total value collected by second player is more (20 + 30 + 10) compared to first player (18 + 15 + 14). So the second player wins.
View SolutionSubmit Solution- 1,807.1K views
- 2 answers
- 0 votes
-
A man has a medical condition that requires him to take two kinds of pills, call them A and B. The man must take exactly one A pill and exactly one B pill each day, or he will die. The pills are taken by first dissolving them in water.
The man has a jar of A pills and a jar of B pills. One day, as he is about to take his pills, he takes out one A pill from the A jar and puts it in a glass of water. Then he accidentally takes out two B pills from the B jar and puts them in the water. Now, he is in the situation of having a glass of water with three dissolved pills, one A pill and two B pills. Unfortunately, the pills are very expensive, so the thought of throwing out the water with the 3 pills and starting over is out of the question.
How should the man proceed in order to get the right quantity of A and B while not wasting any pills?
View SolutionSubmit Solution- 1,805.5K views
- 1 answers
- 0 votes
-
In a country,
All families wants a boy. They keep having babies till a boy is born.What is the expected ratio of boys and girls in the country?
View SolutionSubmit Solution- 1,828.3K views
- 2 answers
- 1 votes