Do not attempt this problem before solving The Hardest Prisoner Problem (Part 1).

This problem is the same as that one but you **don't know the starting state of the switch**. How much longer does it take before a prisoner knows that all of the other prisoners have been in the room?

Note that you will need to modify your algorithm slightly.

×

Problem Loading...

Note Loading...

Set Loading...