Before going to work, Inspector Montalbano got into the fight with his wife. After coming back from the work he found out that the police was in the home and his wife had just killed a burglar.
The police told that she killed the burglar in self-defense. She told her husband the story that she heard a doorbell and thought that it was me and as soon as she opened the door, the burglar jumped into her and she was so scared that she killed burglar immediately with the knife. Inspector Montalbano asked the police to arrest her wife for murder conspiracy. Why?
* They have only one torch and the river is too risky to cross without the torch.
* If all people cross simultaneously then torch light wont be sufficient.
* Speed of each person of crossing the river is different.cross time for each person is 1 min, 2 minutes, 7 minutes and 10 minutes.
What is the shortest time needed for all four of them to cross the river ?
The initial solution most people will think of is to use the fastest person as an usher to guide everyone across. How long would that take? 10 + 1 + 7 + 1 + 2 = 21 minutes. Is that it? No. That would make this question too simple even as a warm up question.
Let's brainstorm a little further. To reduce the amount of time, we should find a way for 10 and 7 to go together. If they cross together, then we need one of them to come back to get the others. That would not be ideal. How do we get around that? Maybe we can have 1 waiting on the other side to bring the torch back. Ahaa, we are getting closer. The fastest way to get 1 across and be back is to use 2 to usher 1 across. So let's put all this together.
1 and 2 go cross
2 comes back
7 and 10 go across
1 comes back
1 and 2 go across (done)
1. Fill 5 liters jar ( 5l-jar:5, 3l-jar:0)
2. Transfer to 3 liters pail (5l-jar:2, 3l-jar:3)
3. Empty 3 liters jar ( 5l-jar:2, 3l-jar:0)
4. Transfer 2q from 5 pail to 3 pail (5l-jar:0, 3l-jar:2)
5. Fill 5 liters pail(5l-jar:5, 3l-jar:2)
6. Transfer 1q from 5 pail to 3 pail(5l-jar:4, 3l-jar:3)
It takes ten minutes to fry a steak (five minutes for each side). You are frying the steaks in a pan that can accommodate only two steaks at one time. What is the least amount of time by which you can fry all the three steaks you have?
After frying for five minutes, you can take out one steak and put the third one inside while turning the other one inside. After five more minutes, one steak is fried from both sides and you can take it out. Now put in the steak that we removed and turn the other one inside. After five more minutes, they both will also be fried from both sides.
There can be two possibilities for the given situation.
One is if I run on the perimeter. Then, the lion will eventually catch me as the lion can follow my radius and then his trajectory will be half of the circle and not a spiral. Therefore, the lion will subsequently catch me in a finite amount of time.
Secondly if I don’t run on the perimeter, then clearly, I have an infinite amount of time before the lion catches me.
Jonathan has three boxes containing milk chocolates and dark chocolates. The problem is that all of them have been labeled incorrectly as follows.
Box1: Dark Chocolates
Box2: Milk Chocolates
Box3: Dark Chocolates and Milk Chocolates
How will he label all the boxes correctly by just opening one box?
It has been clearly mentioned that all the boxes are labeled incorrectly. If he opens the Box3, then he will get either Dark Chocolates or Milk Chocolates as it is labeled incorrectly. Let us suppose he finds Dark Chocolates in there. Now since all are labeled incorrectly, Box B A must contain Milk Chocolates and Box B must contain Milk Chocolates and Dark Chocolates.