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

Many have heard it, but nobody has ever seen it, and it will not speak back until spoken to. What is it?

Asked by Neha on 22 Sep 2023


The Puzzle: A girl, a boy, and a dog start walking down a road.

They start at the same time, from the same point, in the same direction.

The boy walks at 5 km/h, the girl at 6 km/h.

The dog runs from boy to girl and back again with a constant speed of 10 km/h. The dog does not slow down on the turn.
How far does the dog travel in 1 hour?

Asked by Neha on 13 Jan 2026

I am sure no one can have two things for dinner. what are they?

Asked by Neha on 18 Nov 2024


If six children and two dogs were under an umbrella, how come none of them got wet?

Asked by Neha on 07 Mar 2022

What kind of tree can you carry in your hand?

Asked by Neha on 14 Aug 2025

Why is Saturday stronger than Monday?

Asked by Neha on 13 Feb 2023


A kind heart person buy packed food at 3$/packet from United states and sells them at 1$/packet at Africa. After some time he becomes a millionaire.

How come the guy become millionaire ?

Asked by Neha on 30 Jan 2023

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

You walk into a room that contains a match, a kerosene lamp, a candle and a fireplace. What would you light first?

Asked by Neha on 16 May 2022


Can you solve this picture maths equation?

Easy Maths

Asked by Neha on 09 Jun 2023

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.