Maya, Liam, and Noah sit in a straight single-file line facing forward. Maya is in the back and sees both Liam and Noah. Liam is in the middle and sees only Noah. Noah is in front and sees no one. They are shown 3 red hats and 2 blue hats, then blindfolded while one hat is placed on each person's head. When blindfolds are removed, Maya says, 'I do not know my hat color.' Liam hears this and immediately says, 'I know my hat color!' What color is Liam's hat, and how does he know?
Liam's hat is red.
Maya would only know her hat color if both Liam and Noah wore blue hats (leaving her with red). Since Maya doesn't know, Liam deduces that he and Noah are not both wearing blue. Liam looks at Noah; if Noah wore blue, Liam would know his own hat was red. Since Liam knows his hat color immediately, Noah must be wearing a blue hat, making Liam's hat red.
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 am a pink or red piece of candy shaped like a heart. What am I?
A vault requires a four-digit numerical code. The first digit is double the last digit. The second digit is three less than the first digit. The third digit is the sum of the first and second digits. If the last digit is 2, what is the code?
A line goes: apple, acorn, apple, acorn, apple. What comes next?
A water lily in a pond doubles in size every day. If it takes 48 days for the lily to completely cover the pond, on which day was the pond exactly half-covered?
A gardener has 10 trees and wants to plant them in 5 straight lines with exactly 4 trees in each line. How can the gardener arrange the trees?
Five friends line up for a ride at the fair, and the sign lists only these facts. Felix stands ahead of Iris. Elena stands ahead of Pavel. Pavel stands ahead of Felix. Gwen stands ahead of Elena. Who stands second in line?

