Amazon Interview Puzzles
-
You are mixing cement and the recipe calls for five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four gallon bucket and a seven gallon bucket and nether has graduation marks. Find a method to measure five gallons.
View SolutionSubmit Solution- 1,611.9K views
- 1 answers
- 0 votes
-
You have a three gallon and a five gallon measuring device. You wish to measure out four gallons.
View SolutionSubmit Solution- 1,612.6K views
- 1 answers
- 0 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.4K views
- 3 answers
- 0 votes
-
There are twenty coins sitting on the table, ten are currently heads and tens are currently tails. You are sitting at the table with a blindfold and gloves on. You are able to feel where the coins are, but are unable to see or feel if they heads or tails. You must create two sets of coins. Each set must have the same number of heads and tails as the other group. You can only move or flip the coins, you are unable to determine their current state. How do you create two even groups of coins with the same number of heads and tails in each group?
View SolutionSubmit Solution- 1,615.5K 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
-
There was a death on Treebark Ln. The victim was identified as Mark Oswalt, who recently was married. The police went to the crime scene and they reported the death as a suicide.
Later that day, after the police left, a private detective, hired by the victim’s friend who thought it was a murder, searched the crime scene and found a note the police missed.
It read,
“4,3: 8,1:_: 9,1: 2,1: 7,4:_: 6,1:9,3:_: 9,1: 4,3: 3,3: 3,2: !”
The detective took out his cell phone and started dialing the police to tell them about his findings. Once the detective opened the phone to dial, he immediately screamed out, “I SOLVED IT!”
Who was the murderer and how did the detective find out?
View SolutionSubmit Solution- 1,613.5K views
- 1 answers
- 1 votes
-
After the recent Puzzle annual marathon, the judges were comparing notes to determine who finished where. From their notes, can you help them to reconstruct the final result?
- Matthew Merryman beat Tom Trent and Jimmy James.
- Peter Piper beat Jimmy James, Tom Trent and Alan Ardman.
- Zach Zebra lost to Peter Piper.
- Graham Goodfellow beat Tom Trent
- Zach Zebra beat Frank Flintbone.
- Graham Goodfellow lost to Frank Flintbone and Peter Piper.
- Tom Trent beat Brian Brick.
- Alan Ardman beat Zach Zebra, Kevin Kingfisher and Graham Goodfellow.
- Kevin Kingfisher lost to Graham Goodfellow and Matthew Merryman.
- Brian Brick beat Kevin Kingfisher.
- Matthew Merryman lost to Alan Ardman and Zach Zebra.
- Frank Flintbone beat Tom Trent, Matthew Merryman and Brian Brick.
- Tom Trent lost to Jimmy James and Alan Ardman.
- Jimmy James beat Graham Goodfellow and Brian Brick.
View SolutionSubmit Solution- 1,612.6K views
- 1 answers
- 0 votes
-
At the recent spring fete, four keen gardeners were displaying their fine roses.
In total there were four colours and each rose appeared in two colours.
From the clues below can you tell who had which colour roses?
- Mr Green had a yellow rose.
- Mr Yellow did not have a red one.
- Mr Red had a blue rose but not a green one.
- Mr Blue did not have a yellow one.
- One person with a red rose also had a green one.
- One person with a yellow rose also had a blue one.
- One of the persons with a green rose had no red.
- Neither of the persons with a yellow rose had a green one.
- No person has two roses of the same colour.
- No two persons had the same two colour roses and their names provide no clues.
View SolutionSubmit Solution- 1,613.2K views
- 1 answers
- 0 votes
-
The king had his doubts about his sons’ fighting
skills, and so he sent his two eldest to the court magidan
for potions to help fight the ogre.
The magician kept his magic hidden, mindful of the
danger of his potent potion falling into the wrong
hands. In a secret but inconvenient compartment in his
laboratory, he hoarded:
1. four ogre-fighters
2. three dragon-destroyers
3. two evil wizard-vanquishers
How many potions did he have to reach for in order
to make sure that he could give an ogre-fighter to each
of the king’s two sons?View SolutionSubmit Solution- 1,613.7K views
- 1 answers
- 0 votes
-
On the day before the spacecraft was to return to
Earth, the Martians held a dinner party for the crew. In
all there were eight at the table: Aken, Bal, Mun, Mark,
Wora, Jones, Rider and Smith.
a. One was a history buff.
b. One was a whiz at math.
c. One was very tall.
d. One was Aken’s friend.
e. One had yellow feathers.
f. One was a pilot.
g. One was a rock collector.
h. One spoke a number of languages.
1. The person who was Aken’s friend sat directly
opposite Mark.
2. Wora sat between the math whiz and Aken’s
friend.
3. The tall one sat opposite Wora, with Aken to her
left.
4. Smith, who had no real friends among the group,
sat to the right of Mun who towered over the rest
of the group.
5. The one who had yellow feathers sat opposite Bal,
between Mun and the one who spoke a number of
languages.
6. Jones was to the right of the rock collector and
opposite the pilot who was next to Rider.
Who was Aken’s friend?View SolutionSubmit Solution- 1,614.4K views
- 1 answers
- 0 votes