Author |
Topic: island dilemma (Read 1149 times) |
|
Ankitt_sk
Newbie
Gender:
Posts: 5
|
|
island dilemma
« on: Oct 27th, 2009, 10:43pm » |
Quote Modify
|
Hi , I tried searching for the similar post in the forum but couldn't find any.This question was asked during yahoo interview .. There's an island where everyone is deaf and dumb.Each one is wearing a hat which is either red or black.If anyone gets to know the color of his hat he'll die on the spot.One day a foreigner comes on the island and writes on a board that at least one of you is wearing a red hat.What will happen now. What i could figure out is for every case one person will always die with the red hat.Buy don't know if this is the right solution.Any hints ?
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: island dilemma
« Reply #1 on: Oct 28th, 2009, 12:40am » |
Quote Modify
|
This problem is told in a number of different guises, the best worked out version is probably the red eyed monks (there each night the red-eyed monks that know they have red eyes must commit suicide). Actually, as it stands this version won't work very well, because the process isn't synchronized; and that complicates the information flow.
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
|