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

Jack have ten pairs of black socks, eight pairs of white socks and seven pairs of green socks. Everything is mixed in a draw. As there is no light he were not able to identify the colour of the socks. How many of the socks did he want to take to match one pair

Asked by Neha on 19 Aug 2021


You bought me for dinner but never eat me. What am I?

Asked by Neha on 31 Aug 2025

Can you find the hidden animal in the picture below?

Find Animal In Picture Riddle

Asked by Neha on 14 Apr 2021


What do you think with the below Picture ?

Easy Rebus Teaser

Asked by Neha on 17 Mar 2021

Find the Next Number in the Sequence

2 9 3 1 8 4 3 6 5 7 ?

Asked by Neha on 12 Sep 2024

It has a long neck, A name of a bird, Feeds on cargo of ships, It's not alive,

What is it?

Asked by Neha on 17 May 2021


what does the below rebus mean?

Puzzle Understanding

Asked by Neha on 24 Jan 2026

A dead body is found outside a multi-story multinational company. The case is reported and a homicide detective is called on the crime scene.

He looks at the body and then towards the building. From the position of the body, it is evident that the victim committed suicide. He goes to the first floor of the building and then walks in the direction of the dead body, opens the window and toss a coin in the air.

He goes to second floor and again repeats the process. He keeps doing this till he is done on all the floors. Then he returns back to the floor and tells his team that it is a murder.

How in heaven did he deduce that?

Asked by Neha on 10 Sep 2021

Can you make the number 24 by utilizing the numbers 1, 3, 4 and 6? You must use one number only one time and you can use mathematical operation symbols anytime anywhere.

Asked by Neha on 18 Jan 2026


You need to arrange three 7 and mathematical symbols to form number 1?

Asked by Neha on 02 Jul 2021

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.