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

How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023


What runs around the whole yard without moving?

Asked by Neha on 14 May 2021

A clock loses 10 minutes each hour. If the clock is set correctly at noon, what time is it when it reads 3 PM?

Asked by Neha on 26 Apr 2025


Most people think of me as money. But when they find me in the water, they won’t get any money out of me. What am I?

Asked by Neha on 26 Oct 2025

Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021

In the given picture, in how many ways can you read the word "Tiger"?

Read Word Tiger

Asked by Neha on 21 May 2023


Sweet & very intelligent katty has 8 puppets(Jane Bird Barbie Angel Colleen Nora Lass Missy).
All puppets are of different size. She arrange all puppets to face towards the guest and tell the guess the following clues :

* Jane has three puppets bigger on its left side
* Bird has two puppets smaller on its left side
* Barbie has one puppet bigger on its right side
* Angel has two puppets smaller on its right side
* Colleen has one puppet bigger on its left side
* Nora has one puppet smaller on its left side
* Lass has four puppets bigger on its right side
* Missy has three puppets smaller on its right side

Also some puppets are inside the bigger puppets.

Assuming you are the guest , can you tell the katty how the puppets are arranged ?

Asked by Neha on 25 Apr 2023

The teacher told the student that if he told a lie then he will be expelled from school and if he told the truth then he still is expelled from school.

What can a student say to prevent his being expelled from school?

Asked by Neha on 17 Nov 2023

A pet show was happening in my locality. I went down along with my kids. In that show, I noticed that all except two of the entries were cats. All except two were dogs and all except two were Monkeys.

Can you find out how many of each animals were present in that pet show?

Asked by Neha on 04 Feb 2021


I left my campsite and hiked south for 3 miles. Then I turned east and hiked for 3 miles. I then turned north and hiked for 3 miles, at which time I came upon a bear inside my tent eating my food! What colour was the bear?

Asked by Neha on 03 Jul 2025

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.