The Hardest Prisoner Problem Ever (Part 2)

Logic Level 3

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...