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

Andrew’s doctor gives him three pills and tells him to take one every half hour. How much time will have passed by the time Andrew’s taken all three pills?

Asked by Neha on 22 Jun 2025


Things are just as they seem, right? Well, check again.
Can you count the number of tigers in this picture ?

Count The Tigers

Asked by Neha on 21 May 2021

There are two beautiful yet remote islands in the South Pacific. The Islanders born on one island always tell the truth, and the Islanders from the other island always lie.
You are on one of the islands and meet three Islanders. You ask the first which island they are from in the most appropriate Polynesian tongue, and he indicates that the other two Islanders are from the same island. You ask the second Islander the same question, and he also indicates that the other two Islanders are from the same island.
Can you guess what the third Islander will answer to the same question?

Asked by Neha on 03 Jan 2026


Akbar called Birbal and asked him to draw a line on the floor. He asked Birbal to make that line smaller without erasing it. Birbal smiled and did it before Akbar could blink his eyes.

How did he managed to do it?

Akbar Birbal line on the floor riddle

Asked by Neha on 07 May 2021

When I go in I might cause pain. I cause you to spit and ask you not to swallow. I can fill your hole. What am I?

Asked by Neha on 20 Feb 2026

Can you find out the total number of triangles in the given figure?

Triangle Angle

Asked by Neha on 12 Mar 2024


What is the riddle which can be asked all day with a different correct answer each time.

Always New Answer

Asked by Neha on 22 Mar 2021

Your mother’s brother’s only brother-in-law is asleep on your couch. Who is asleep on your couch?

Asked by Neha on 14 Mar 2022

It is a 5 letter word if you take away first letter it is something you get from sun, if you remove second letter you will get something to eat, if you remove third letter you get a word you use in pointing at and if you remove the fourth letter you get something to drink. What is it?

Asked by Neha on 17 May 2021


What 4-letter word can be written forward, backward or upside down, and can still be read from left to right?

Asked by Neha on 14 May 2021

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.