Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.

"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

By including only four matchsticks in below picture, you have to make "Four Triangles And Two Squares"

Four Triangles And Two Squares Matchsticks Riddle

Asked by Neha on 16 Apr 2021


After teaching his class all about Roman numerals (X = 10, IX=9 and so on) the teacher asked his class to draw a single continuous line and turn IX into 6. The teacher's only stipulation was that the pen could not be lifted from the paper until the line was complete.

Asked by Neha on 07 May 2025

12345 a famous South Indian actor
567 is a path in jumbled form
8 & 10 are same letters
9 is one among the first six alphabets.
WHO AM I?

Asked by Neha on 14 May 2021


A brand new Mobile Phone was on sale at 20% as a promotional offer. By what per cent must the Mobile price be increased to sell it at the original price again?

Asked by Neha on 26 Oct 2023

I don't get anymore wetter, no matter how much rain falls on me.

Asked by Neha on 22 Jan 2025

In the attached figure, you can see a chessboard and two rooks placed on the chess board. What you have to find is the number of squares that do not contain the rooks. How many are there?

Squares in Chess Board

Asked by Neha on 04 Mar 2024


f you were running a race, and you passed the person in 2nd place, what place would you be in now?

Asked by Neha on 14 May 2021

There were three women in all the swimming costumes!
One was happy and the other two were sad!
The happy one was crying and the sad ones were smiling.
Why was this?

Asked by Neha on 20 Jan 2025

Detective Rockford was jogging near the beach at 4:30 am.
He hears a sound near the shack "No Michael, Please Do not shoot me".
Next instance he heard the sound of gunfire. Rockford rushes to the shack where he finds women lying dead and a gun in close proximity of three "Doctore Lawyer and a Teacher".

Rockford immediately knew that the Lawyer has committed the crime. How?

Asked by Neha on 05 Apr 2023


What famous saying does this rebus mean?

COME SERVED <---
COME SERVED
COME SERVED
COME SERVED
COME SERVED

Asked by Neha on 09 Sep 2023

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.