Interview Question
-
Ten people land on a deserted island. There they find lots of coconuts and a monkey. During their first day they gather coconuts and put them all in a community pile. After working all day they decide to sleep and divide them into ten equal piles the next morning.
That night one castaway wakes up hungry and decides to take his share early. After dividing up the coconuts he finds he is one coconut short of ten equal piles. He also notices the monkey holding one more coconut. So he tries to take the monkey’s coconut to have a total evenly divisible by 10. However when he tries to take it the monkey conks him on the head with it and kills him.
Later another castaway wakes up hungry and decides to take his share early. On the way to the coconuts he finds the body of the first castaway, which pleases him because he will now be entitled to 1/9 of the total pile. After dividing them up into nine piles he is again one coconut short and tries to take the monkey’s slightly bloodied coconut. The monkey conks the second man on the head and kills him.
One by one each of the remaining castaways goes through the same process, until the 10th person to wake up gets the entire pile for himself. What is the smallest number of possible coconuts in the pile, not counting the monkeys?
View SolutionSubmit Solution- 1,348.4K views
- 1 answers
- 0 votes
-
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,347.0K views
- 1 answers
- 0 votes
-
Given a fleet of 50 trucks, each with a full fuel tank and a range of 100 miles, how far can you deliver a payload? You can transfer the payload from truck to truck, and you can transfer fuel from truck to truck. Assume all the payload will fit in one truck.
View SolutionSubmit Solution- 1,349.5K views
- 1 answers
- 1 votes
-
Naga a safari in the kajiranga jungle capture three men. The naga give the men a single chance to escape uneaten.
The prisoner are lined up in order of height, and are tied to stakes. The man in the rear can see the backs of his two friends, the man in the middle can see the back of the man in front, and the man in front cannot see anyone. The Nagas show the men five hats. Three of the hats are black and two of the hats are white.
Blindfolds are then placed over each man’s eyes and a hat is placed on each man’s head. The two hats left over are hidden. The blindfolds are then removed and it is said to the men that if one of them can guess what color hat he is wearing they can all leave unharmed.
The man in the rear who can see both of his friends’ hats but not his own says, “I don’t know”. The middle man who can see the hat of the man in front, but not his own says, “I don’t know”. The front man who cannot see ANYBODY’S hat says “I know!”
How did he know the color of his hat and what color was it?
View SolutionSubmit Solution- 1,355.0K views
- 1 answers
- 1 votes
-
There are n bulbs in a circle, each bulb has one switch associated with it, on operating the switch, it toggles the state of the corresponding bulb as well as two bulbs adjacent to that one. Given all bulbs are in off state initially, Give a situation when we can turn on all the bulbs.
Note: Number of bulbs are more then 1 i.e N>1
View SolutionSubmit Solution- 1,348.0K views
- 1 answers
- 0 votes
-
There are two bottles of 10 liter; each completely filled with water. Now 2 persons having empty bottles of 4 liter and 5 liter want to take 2-2 liters of water. You can use only these 4 bottles (10 liter-full, 10 liter-full, 5 liter-empty, 4 liter-empty) to transfer the water. Wasting or throwing of water is not permitted. How can this be done?
Note: It is assumed that you can not measure water level by comparing water level, or by judging, it should be exact 2 liters of water finally in each 4 and 5 liter water bottle.
View SolutionSubmit Solution- 1,350.7K views
- 1 answers
- 0 votes
-
There are 10 black socks and 10 white socks in a drawer.
Now you have to go out wearing your shoes.
So how many maximum number of times you need to remove the sock from drawer so that you can go out?
You can remove only 1 sock at a time.
Obviously, you can’t go outside wearing different socks!View SolutionSubmit Solution- 1,361.4K views
- 2 answers
- 0 votes
-
There is a drum full of milk, people come for buying milk in the range of 1-40 litres. You can have only 4 cans to draw milk out of drum. tell me what should be the measurement of these four cans so that you can measure any amount of milk in the range of 1-40 litres.
Note: We can use one container only once.
View SolutionSubmit Solution- 1,350.4K views
- 1 answers
- 0 votes
-
There is a one person who have two numbers, he tells sum to the person S and product of those numbers to P.
Now there is this conversion between S and P.
S: I don’t know what are the numbers.
P: I also don’t know what are the numbers.
S: Now i know what are the numbers.
P: Now i also know what are the numbers.
Assuming S and P to be very wise and good in mathematics, What are those two numbers?
Note: Numbers are greater than 0.View SolutionSubmit Solution- 1,349.1K views
- 1 answers
- 0 votes
-
A Bear has fallen from a height of 10m from ground. It reached ground in sqrt(2) seconds. Luckily it didn’t get hurt.
What is the color of that Bear? Prove it scientifically.
View SolutionSubmit Solution- 1,353.9K views
- 1 answers
- 0 votes