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

You have an empty wine bottle with a cork that has been secured at the top in a normal way. There is a metal ring inside the bottle that is suspended by a string.

How can you make the metal ring drop to the bottom if you are not allowed to touch anything - not the bottle, not the cork, not the thread and not the ring?

Asked by Neha on 07 Aug 2023


A man wants to cross the pit of fire which is 25 feet in length and he has 2 planks(fire resistant) 19 feet in length. How can he cross the pit of fire alive?

Asked by Neha on 02 Oct 2025

A guy in his thirties is found dead in a forest. The shocking thing about the body is that he is wearing his swimming trunks snorkel and a facemask.

For your information, the nearest lake is some 10 miles away and the sea is hundreds of miles away.

How did he die then?

Asked by Neha on 15 Oct 2025


You can find some missing letters in the picture. By placing two particular letters in the spaces, you can form a nine lettered word beginning from one of the corners and going clockwise direction to the middle. Can you find out the letters and the word?

Make the Word

Asked by Neha on 06 Oct 2023

Suppose we lay down two cups in front of you. One of the cups is filled with tea and the other one with coffee. Now we ask you to take a spoonful of tea and mix it with the coffee. At this moment, the coffee cup has a mixture of tea and coffee. You have to take that mixture (spoonful) and add it back to the tea.

Can you now tell if the cup of coffee has more tea or the cup of tea has more coffee?

Asked by Neha on 30 Mar 2024

What is black when you buy it, red when you use it, and gray when you throw it away?

Asked by Neha on 06 Jan 2021


Find the next number in the series

12, 20, 40, 72, 116, 172 ?

Asked by Neha on 19 Oct 2025

There's one "sport" in which neither the spectators nor the participants know the score or the leader until the contest ends.

What is it?

Asked by Neha on 10 Apr 2022

Manish has to secure 40% marks to pass his B.tech final exams.
He got just 40 marks and failed by 40-marks.

What is the maximum marks?

Asked by Neha on 04 Aug 2023


John drives to his office at 20km/hr. After reaching the office, he realizes that today is a holiday. He went back at an average speed of 30km/hr. Discounting the time spent in the stoppage what was the average speed of his journey?

Asked by Neha on 21 Apr 2025

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.