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

John is asked to stand behind Jacob and Jacob is asked to stand behind John. Both of them feel confused about it and don't know what to do?

But it is quite possible, do you know how?

Asked by Neha on 28 Jan 2021


In Greek mythology, the Sphinx sat outside of Thebes and asked this riddle of all travellers who passed by. If the traveller failed to solve the riddle, then the Sphinx killed him/her. And if the traveller answered the riddle correctly, then the Sphinx would destroy herself. The riddle:

What goes on four legs in the morning, on two legs at noon, and on three legs in the evening?

Oedipus solved the riddle, and the Sphinx destroyed herself.

Asked by Neha on 26 Jul 2024

You walk into a room where there are three primates held in their respective cages:
1) A lion who is eating the flesh of a goat.
2) An orangutan who is playing with blocks.
3) A donkey who is sitting idle.

Who is the most intelligent primate in the room?

Asked by Neha on 16 Sep 2023


For this puzzle, you might have to find logic in something illogical. But hey, it's fun and a healthy little break from your strenuous puzzle-solving sessions.

Can you decipher the meaning in the following cluster of letters?

ITIT,NCENTCENT

Asked by Neha on 19 Nov 2025

Which tank will fill first?

Fill The Tank

Asked by Neha on 13 Jul 2021

One day, John and his friends were playing around. Jacob hit something with a Pin and it popped. John's dad came into the room that very moment, but he wasn't mad. In fact, he was smiling. What did Jacob hit?

Asked by Neha on 03 Jan 2025


There were five men at church, and it started raining while they were outside. The four that ran still got wet, but the one that was still stayed completely dry. Why did he stay dry?

Asked by Neha on 19 Jun 2025

An ape is trying to climb on a pole that is 60 feet high. Due to the slippery surface, the ape climbs 3 feet in a minute only to slip back 2 feet.

How much time do you think the monkey will take to reach the top of the pole?

Asked by Neha on 29 Sep 2024

Which word is least like the others? Third, fourth, fifth, sixth, seventh, eighth, ninth?

Asked by Neha on 28 Aug 2025


In the Wild West, you are challenged into a death match by two bounty hunters nicknamed Golden Revolver (GR) and Killer Boots (KB). You accept the challenge. None of you want to waste any of the bullet and so a certain rules are laid down:

1) All of you will shoot in a given order till the last man standing.
2) Each of you shoots only once upon his turn.
3) If any one of you is injured, the other two will finish him off with an iron rod.
4) The worst shooter of all (which is you) shoots first and the best one shoots at the last.

Now, how will you plan things if you know that you hit every third shot of yours, KB hits every second shot and GR hits every shot ?

Asked by Neha on 15 Dec 2025

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.