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

Find the next number in the sequence

1, 2, 6, 21, 88, __?

Asked by Neha on 14 Mar 2024


One night, a woman receives a call from the police. They tell her that her husband was murdered and that she should come to the crime scene as soon as possible. The woman drops the phone, shocked, and drives 20 minutes to the crime scene. As soon as she reaches the crime scene, the police arrest her and she is convicted of murder. How do the police know she committed the crime?

Asked by Neha on 01 Jul 2025

Sachin bought a car with a strange 5 digit numbered plate.The water image of the number is 78633 more than my car number. All the digits of car number are distinct.

What is the original number on number plate?

Car Number Riddle

Asked by Neha on 13 Mar 2021


In The 1st month of this year(the year 2013), I noticed that the date 13-1-13 (13 January 2013) is special.

This date is special as:

Date * Month = Year.

Can you figure out which year of this century has a maximum number of such dates?

Asked by Neha on 14 Aug 2024

You need to pick one entry from pot A and one from pot B to have a perfect match. Can you do it?

Football World Cup 2014

Asked by Neha on 22 Aug 2021

A famous swimmer can swim downstream in a lake in exactly 40 minutes with the lake current.
He can swim upstream in that lake in exactly 60 minutes against the lake current.
The length of the lake is 2 km.

How long he can cover the distance of one side at a still lake with no current?

Asked by Neha on 27 Nov 2025


You walk into an old horror house. It has no power or plumbing. Once inside, you see three doors. Each door has a number on it. Behind each door is a way for you to die. Behind door number one, you die by getting eaten by a lion. Behind door number two, you die by getting murdered. Behind door number three, you die by an electric chair. You can’t turn back, so you have to go through a door. Which door do you go through?

Asked by Neha on 10 Jun 2025

To attend world science seminar, A famous chemist from Mexico visit
London. In the lab, the scientist was killed and his six assistants were under suspicion of killing the chemist.
Name of six assistants: Austin, Wayne, Dege, Oscaru, Lingard, and Rojo.
He left a note "76-20-44 79-16-22-7"

A local detective Jack was called to solve the case,

After reading the note, Jack instantly asked the police to arrest the murderers.

Who are the murderers?

Asked by Neha on 15 May 2021

Two boys wish to cross a river. The only way to get to the other side is by boat, but that boat can only take one boy at a time. The boat cannot return on its own, there are no ropes or similar tricks, yet both boys manage to cross using the boat.

How?

Asked by Neha on 14 Oct 2025


Why is it against the law for a man living in Delhi to be buried in Mumbai?

Asked by Neha on 20 Oct 2024

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.