Adobe Interview Puzzles
-
Mr John have 25 horses, and he want to pick the fastest 3 horses out of those 25. He has only 5 track that means only 5 horse can run at a time,even he don’t have a stop watch . What is the minimum number of races required to find the 3 fastest horses?
View SolutionSubmit Solution- 1,653.5K views
- 2 answers
- 1 votes
-
The warden meets with 23 new prisoners when they arrive. He tells them, “You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.
“In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.
“After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he’ll be led back to his cell.
“No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I’m going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.
“Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, ‘We have all visited the switch room.’
“If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you”
What is the strategy they come up with so that they can be free?
View SolutionSubmit Solution- 1,651.5K views
- 3 answers
- 0 votes
-
Four angels sat on the Christmas tree amidst other ornaments. Two had blue halos and two – yellow. However, none of them could see above his head. Angel A sat on the top branch and could see the angels B and C, who sat below him. Angel B, could see angel C who sat on the lower branch. And angel D stood at the base of the tree obscured from view by a thicket of branches, so no one could see him and he could not see anyone either.
Which one of them could be the first to guess the color of his halo and speak it out loud for all other angels to hear?View SolutionSubmit Solution- 1,614.7K views
- 1 answers
- 0 votes
-
Three Masters of Logic wanted to find out who was the wisest amongst them. So they turned to their Grand Master, asking to resolve their dispute.
“Easy,” the old sage said. “I will blindfold you and paint either red, or blue dot on each man’s forehead. When I take your blindfolds off, if you see at least one red dot, raise your hand. The one, who guesses the color of the dot on his forehead first, wins.”
And so it was said, and so it was done. The Grand Master blindfolded the three contestants and painted red dots on every one. When he took their blindfolds off, all three men raised their hands as the rules required, and sat in silence pondering. Finally, one of them said: “I have a red dot on my forehead.”
How did he guess?View SolutionSubmit Solution- 1,612.9K views
- 2 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,613.0K 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.9K views
- 1 answers
- 0 votes
-
There is an equilateral triangle and three bugs are sitting on the three corners of the triangle. Each of the bugs picks up a random direction and starts walking along the edge of the equilateral triangle. What is the probability that none of the bugs crash into each other?
View SolutionSubmit Solution- 1,613.8K views
- 1 answers
- 0 votes
-
There is a town named Panem. The town is well built and have every facility available to the citizens. It comprises of 100 married couples. The husbands of the town are very loyal to their wives but that happens for a reason. There is a rule that is followed by the people of the town. If any wife finds out about her husband’s infidelity, the husband is immediately executed.
No woman in the town talks about their own husband and all they do is gossip about others’. Thus every woman in the town is familiar with all the other unfaithful husbands but does not know about their own. This can also be explained as that the husbands remain glued lip about their own unfaithfulness.One day, the mayor of the town announces to the people that there is at least one cheating husband in the town. What will happen now?
View SolutionSubmit Solution- 1,613.7K views
- 1 answers
- 0 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.9K views
- 1 answers
- 0 votes