4 prisoners are are given a hat each from 2 blue and 2 yellow hats. Find out who will shout first and declare his own hat color?
All know that there are 2 blue and 2 yellow hats.
They do not know their own hat color.
4 can see 3 and 2’s hat color
3 can see 2’s hat color and 1 can see only the wall.
No speaking or touching. No mirrors. No movements.
This video explains the solution to the prisoner and hats puzzle.
Website: [ Ссылка ]
Facebook: [ Ссылка ]
Brain Teasers: Prisoner Hat Puzzle - who will shout first?
Теги
Data StructuresAlgorithmsInterview QuestionsComputer ScienceProgramming Interview QuestionsTechnical QuestionsInterview AnswersAlgorithmic QuestionsAlgorithmic AnswersProgramming Interview Questions and AnswersPuzzle Game (Media Genre)brain teasersmaths puzzlescodinginterviewBlack and white hat puzzlePrisoner hat puzzlePrisoners and hat puzzle4 men in hats puzzleriddlesprisoner white hat black hatPrisoners And Hats Puzzle