Hacker News new | ask | show | jobs
by photon_off 5866 days ago
The boxes' states are restored after each prisoner leaves the room, so there's no way to sort them. The ideal solution would actually work even if the order of the boxes was shuffled each time.