Can you solve the prisoner hat riddle?

31,262,019 views|
Alex Gendler |
TED-Ed
• October 2015