4 Men in Hats
Puzzle Question:
There are 4 people (A,B,C,D) buried upto the neck. They can’t
move and can only look forward. Between A and B, there is a
brick wall. All of them were wearing hats either Black or
White (Total 2 Black & 2 White). In order to avoid from being
shot, one of them has to tell the hat colour, that he is wearing
in 10 min?
• They can’t move, talk, and can see only the front side only.
• A and B can’t see the each others, as there is a brick wall
between them. Therefore A and B can’t tell the colour of the
hats.
• And also if B and C wears same colour hat, either white or
black , then D will be able to tell the colour of the hats ( as if B
and C wears white hats, then A and D wears black hats. )
• If C comes to know that D can’t answer , then C will come to
know that B and C are wearing different colour hats. As C able
to see B’s hat, then he can tell the colour of the hat that he is
wearing.

24 standard interview puzzles - 4 men in hats

  • 1.
  • 2.
    Puzzle Question: There are4 people (A,B,C,D) buried upto the neck. They can’t move and can only look forward. Between A and B, there is a brick wall. All of them were wearing hats either Black or White (Total 2 Black & 2 White). In order to avoid from being shot, one of them has to tell the hat colour, that he is wearing in 10 min? • They can’t move, talk, and can see only the front side only.
  • 3.
    • A andB can’t see the each others, as there is a brick wall between them. Therefore A and B can’t tell the colour of the hats. • And also if B and C wears same colour hat, either white or black , then D will be able to tell the colour of the hats ( as if B and C wears white hats, then A and D wears black hats. ) • If C comes to know that D can’t answer , then C will come to know that B and C are wearing different colour hats. As C able to see B’s hat, then he can tell the colour of the hat that he is wearing.