Nov 15, 2023
No, the prisoner at the back of the line can see the three in front and therefore knows what their own hat colour is. The person in front of him therefore knows the colour of the hat behind and can see those in front, so knows his own. And so on.