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

Christina makes tasty toast in a small pan. After toasting one side of a slice, she turns it over. Each side takes 30 seconds. The pan can only hold two slices.
How can she toast both sides of three slices in 1 & 1/2 instead of 2 minutes?

Asked by Neha on 25 Jun 2026


A girl was sitting in her hotel room when she heard a knock on the door. She opened the door and found that a man was standing outside. The man said, "Oh! I am really sorry, I thought this was my room." He then walked through the corridor to the elevator. The girl did not know the man. She closed her door and called security asking them to apprehend the man. What made her suspicious of that man? He might have been genuinely mistaken.

Asked by Neha on 27 Jan 2024

What is next number in the pattern below:

131 517 192 123 ?

Asked by Neha on 31 Dec 2023


How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021

A Doctor always sneezes before the rain. Doctor sneezes, Will it rain?

Asked by Neha on 24 Jul 2024

It's been the first day of the school when a young girl was found raped and murdered.
Police suspect four male teachers as on the killers and ask them what they were doing in the morning in time 8:00 am.
1. Wayne: I was reading the newspaper.
2. Terry: I was checking chemistry papers
3. Bridge: I had locked myself in my room as my wife left me.
4. Cole: I dropped my wife to her office.

Who is the killer?

Asked by Neha on 15 Aug 2026


You are given four results as below:
1111 = F
2222 = E
3333 = T
Then, can you find out how to code 4444?

Asked by Neha on 29 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

Count the number of triangles in the given picture.

Find out triangles

Asked by Neha on 28 Mar 2025


what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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