Four Prisoners and Colored Hats Puzzle
Filed under HSBC
The question
Four prisoners (A, B, C, D) are wearing either white or black hats (two white, two black). A, B, and C are in one room such that A sees B and C, B sees C, and D is separated in another room seeing no one. Determine who can deduce their hat color first to be released.
No write-up yet. Related questions below have one.
Related HSBC questions
Collected from public candidate posts and coding forums. Updated Nov 2026.