Four people stand single-file facing a wall: Person 1 sees Persons 2 and 3; Person 2 sees Person 3; Person 3 sees only the wall; Person 4 is behind a solid barrier and sees no one. They know there are 2 black hats and 2 white hats among them. Person 1 says, 'I do not know my hat color.' Upon hearing this, Person 2 immediately states their own hat color correctly. How did Person 2 know?
Person 2 realized Person 1 would only know their hat color if Persons 2 and 3 wore matching hats. Since Person 1 did not know, Person 2 deduced that Person 2 and Person 3 must wear different colors. Person 2 looked at Person 3's hat and knew their own was the opposite.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Medium. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
I have three U.S. coins in my pocket totaling 30 cents. None of the coins are quarters, and one of them is not a nickel. What are the three coins?
A sequence of numbers follows a strict logical rule: 1, 11, 21, 1211, 111221. What is the next number in the sequence?
I am orange and round with a carved face, and a candle gives me a glow. What am I?
A grandfather clock chimes 6 times in 5 seconds. How many seconds does it take for the clock to chime 12 times, assuming the interval between each chime is constant?
A drawer contains 10 black socks, 10 white socks, and 10 blue socks all mixed together in total darkness. What is the minimum number of socks you must pull out to guarantee you have at least one matching pair of any color?
Three boxes are labeled 'Apples', 'Oranges', and 'Mixed'. Every box is incorrectly labeled. You may draw only one fruit from one box without looking inside. Which box should you pick from to correctly identify the contents of all three boxes?

