← All brainteasers

Logic · Easy

Four Prisoners and Hats

Four prisoners are buried up to their necks. A is on one side of a brick wall. B, C and D are on the other side in a line facing the wall: D sees B and C, C sees only B, and B sees only the wall. Nobody can see A, and A sees only the wall. They know there are two black hats and two white hats. B and D wear white, A and C wear black. Anyone who calls out his own hat colour correctly goes free, and a wrong call means death, so nobody calls unless he is certain. They may not talk otherwise. Who calls out first?

Sign in free to check your answer

Your progress is saved to your account.

Were you asked this in an interview?

Sign in and tell us where. Reports from candidates show which puzzles firms really ask.