Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Still, I didn't hear correctly either: I thought there would be 100 identical boxes lined up in a row by the warden's assistant.


The solution still works. The prisoners have agreed on a mapping between their names and the order of the 100 boxes. That mapping is what they rely on to inspect the boxes, the boxes don't need actual labels.

The problem statement makes it clear they can communicate prior to starting the game.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: