This is driving Facebook crazy today ...

Author | Message |

Could you work for Google? If you can solve the '100 hat riddle' you're in with a chance ## Could you work for Google? If you can solve the '100 hat riddle' you're in with a chance## Artificial intelligence has no problem coming up with the answer - but can you?
Are you smart enough to work for Google? Solve the riddle below
While the rigour of the questions asked in job interviews may vary, there are some stock favourites which come up again and again. What are your three greatest strengths and weaknesses? And the perennial classic: Where do you see yourself in five years time? But if you want a job at Google, you'll need more than your five year plan to cut the mustard - their interview involves solving a fiendish riddle which artificial intelligence has no problem getting to the bottom of.
## The 100 hat riddle
Jakob Foerster
Google interview hat riddle - can you come up with a solution?
1. 100 prisoners stand in line, one in front of the other, each wearing either a red hat or a blue hat. 2. Every prisoner can see the hats of the people in front but not their own hat, or the hats worn by anyone behind. 3. A prison guard starts at the back of the line and asks each prisoner the colour of their hat. If they answer correctly, they will be pardoned, if they get it wrong, they’ll be executed. 4. Before lining up, the prisoners are allowed to collectively come up with a strategy. ## What should they do?The good news is, there IS a way for 99 of the prisoners to definitely survive and the remaining prisoner to have a respectable shot at 50 per cent. -
To get this result, the first prisoner in the line must say "blue" if he sees an even number of hats in front of him. -
If he sees an odd number of hats in front of him, he must say "red". - This information, coupled with the responses other prisoners have already given and the hats in front is enough to work out what colour hat is on your head.
So, everyone except the first prisoner will definitely answer correctly A team from the University of Oxford and Google's DeepMind created an AI (artificial intelligence) to tackle the riddle - and it cracked it.
Getty
Artificial Intelligence can get a job at Google no problem
If you love puzzles, but would like to have a go at something humans can solve, see if you can crack this simple brainteaser designed for children - which got the better of a lot of adults.
"Music gives a soul to the universe, wings to the mind, flight to the imagination and life to everything." --Plato | |

- E-mail - orgNote - Report post to moderator |

purplethunder3121 said: ## Could you work for Google? If you can solve the '100 hat riddle' you're in with a chance## Artificial intelligence has no problem coming up with the answer - but can you?Are you smart enough to work for Google? Solve the riddle below While the rigour of the questions asked in job interviews may vary, there are some stock favourites which come up again and again. What are your three greatest strengths and weaknesses? And the perennial classic: Where do you see yourself in five years time? But if you want a job at Google, you'll need more than your five year plan to cut the mustard - their interview involves solving a fiendish riddle which artificial intelligence has no problem getting to the bottom of.
## The 100 hat riddle
Jakob Foerster Google interview hat riddle - can you come up with a solution?
1. 100 prisoners stand in line, one in front of the other, each wearing either a red hat or a blue hat. 2. Every prisoner can see the hats of the people in front but not their own hat, or the hats worn by anyone behind. 3. A prison guard starts at the back of the line and asks each prisoner the colour of their hat. If they answer correctly, they will be pardoned, if they get it wrong, they’ll be executed. 4. Before lining up, the prisoners are allowed to collectively come up with a strategy. ## What should they do?The good news is, there IS a way for 99 of the prisoners to definitely survive and the remaining prisoner to have a respectable shot at 50 per cent. To get this result, the first prisoner in the line must say "blue" if he sees an even number of hats in front of him. If he sees an odd number of hats in front of him, he must say "red". - This information, coupled with the responses other prisoners have already given and the hats in front is enough to work out what colour hat is on your head.
So, everyone except the first prisoner will definitely answer correctly A team from the University of Oxford and Google's DeepMind created an AI (artificial intelligence) to tackle the riddle - and it cracked it.
Getty Artificial Intelligence can get a job at Google no problem
If you love puzzles, but would like to have a go at something humans can solve, see if you can crack this simple brainteaser designed for children - which got the better of a lot of adults.
15? "this is where the PURPLE PARTY PEOPLE be" | |

- E-mail - orgNote - Report post to moderator |

16 on the fruit i have no idea why the answer (100 hats) would be 'red' 'red' ........................................................ i am KING BAD!!!
you are NOT... "KingBAD, well you are just a troll" (an emotional fan) | |

- E-mail - orgNote - Report post to moderator |

fruit math: 14
the hat one seems to be like the loins and sheep riddle I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

there seems to be something wrong with the question. Saying "blue" or "red" based on the number of total hats is not helpful... they would all know how many were in fount of them...anyway there is something eles to this riddle... I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

um... i . ## The solutionFor the sake of explanation let's label the prisoners in line order B, C and D. Thus C can see B (and B's hat color) and D can see B and C. The prisoners know that there are only two hats of each color. So if D observes that B and C have hats of the same color, D would deduce that his own hat is the opposite color. However, if B and C have hats of different colors, then D can say nothing. The key is that prisoner C, after allowing an appropriate interval, and knowing what D would do, can deduce that if D says nothing the hats on B and C must be different. Being able to see B's hat he can deduce his own hat color. In common with many puzzles of this type, the solution relies on the assumption that all participants are totally rational and are intelligent enough to make the appropriate deductions. After solving this puzzle, some insight into the nature of communication can be gained by pondering whether the meaningful silence of prisoner D violates the "No communication" rule (given that communication is usually defined as the "transfer of information"). | |

- E-mail - orgNote - Report post to moderator |

Fruit is 15. | |

- E-mail - orgNote - Report post to moderator |

The fruit is 14.
1 coconut half = 1, 1 apple = 10, 3 bananas = 3.
| |

- E-mail - orgNote - Report post to moderator |

i got sixteen too.
apple = 10 banana bunch = 4 coconut half =2 | |

- E-mail - orgNote - Report post to moderator |

There are only 3 bananas on the last equation as opposed to 4 in the previous equations. Also half as many coconuts as before. | |

- E-mail - orgNote - Report post to moderator |

Prince, in you I found a kindred spirit...Rest In Paradise. | |

- E-mail - orgNote - Report post to moderator |

Okay this right here makes no sense to me: | |

- E-mail - orgNote - Report post to moderator |

It's obvious now that you point it out. That's why I got 15 instead of 14. Boy, my powers of observation ain't as sharp as they used to be. Forget the 100 hats! "Music gives a soul to the universe, wings to the mind, flight to the imagination and life to everything." --Plato | |

- E-mail - orgNote - Report post to moderator |

me too. i only glanced at it. couldn't work for google. oh well | |

- E-mail - orgNote - Report post to moderator |

{To make sure most of them survive, the prisoners must agree on the message communicated with each colour. The first prisoner to speak will say blue if the number of blue hats he sees in front of him is even, or red if he sees otherwise.} | |

- E-mail - orgNote - Report post to moderator |

Screw that NASA wants to pay me $1,200 a week to lay in bed and smoke weed.
The Most Important Thing In Life Is Sincerity....Once You Can Fake That, You Can Fake Anything. | |

- E-mail - orgNote - Report post to moderator |

And there you go. | |

- E-mail - orgNote - Report post to moderator |

:facepalm: Talk about delayed reaction. Sometimes I wonder about me. | |

- E-mail - orgNote - Report post to moderator |

14 I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

Prince, in you I found a kindred spirit...Rest In Paradise. | |

- E-mail - orgNote - Report post to moderator |

Where does one apply? "Music gives a soul to the universe, wings to the mind, flight to the imagination and life to everything." --Plato | |

- E-mail - orgNote - Report post to moderator |

i think folks look and still miss the thing... apples= 10 bananas= 4 coconuts= 2 2+10+4= 16 everywhere i ever been... i am KING BAD!!!
you are NOT... "KingBAD, well you are just a troll" (an emotional fan) | |

- E-mail - orgNote - Report post to moderator |

i know how hard it is for you to just accept what i say so i drew you a map... the answer is 16
i am KING BAD!!!
you are NOT... "KingBAD, well you are just a troll" (an emotional fan) | |

- E-mail - orgNote - Report post to moderator |

you ever notice that it's basically the same people they have the most to say on 'other' subjects so vehemately (no matter how wrong) are pretty much the same folks that cannot GET THIS
i really do love walkin through puddles i am KING BAD!!!
you are NOT... "KingBAD, well you are just a troll" (an emotional fan) | |

- E-mail - orgNote - Report post to moderator |

the irony is the answer is 14...you are mistaken. See each coconut half is 1, each banana is 1, and each apple is 10.
1+10+ (1+1+1)= 14
just like
10 + (1+1+1+1) + (1+1+1+1) = 18
(1+1+1+1) - (1+1) = 2
1+10+ (1+1+1)= 14
you just do not get the trick is in the number of coconut halves and you number of bananas is the different bunches....
I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

the irony is you did not read the legend on your own map and you got lost along the way. I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

ok i can not help it but YES i am replying to all 3 of KB's replies: an apple is 10 (well we assume it is a whole apple) I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

. this is one of those trick questions they throw on IQ tests. it is not a measure of intelligence, it is a measure of whether or not you are paranoid enough to expect a trick question. . it's not about math, it's about whether you noticed that only one half of the coconut, and only three bananas instead of four, are in the bunches in the last question. . once a person comes to expect trick questions, they are easy to solve. | |

- E-mail - orgNote - Report post to moderator |

it has to be either a trick or rely on a common error people make. Like what is 1 X 2 + 3 x 4 + 5 x 0 + 1 = ? not a trick but dose allow for a basic common error. I stand with Ben and the Moderators! | |

- E-mail - orgNote - Report post to moderator |

copyright © 1998-2020 prince.org. all rights reserved.