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

Three friends decide to distribute the soda cans they had among them. When all of them had drunk four cans each, the total number of cans that remained was equal to the cans each one of them had after they had divided the cans.

Can you calculate the total number of cans before distribution?

Asked by Neha on 12 May 2025


What brings you down but never up?

Asked by Neha on 22 Oct 2021

Can you place three balls such that the equation shown in the picture holds true?

Place the Balls

Asked by Neha on 07 Mar 2024


The King of a distant land had heard that Birbal was one of the wisest men in the East and so desired to meet Birbal. He sent Birbal an invitation to visit his country.

In due course, Birbal arrived in the distant kingdom. When he entered the palace he was flabbergasted to find not one but six kings seated there. All looked alike. All were dressed in kingly robes. Who was the real king?

The very next moment he got his answer. Confidently, he approached the king and bowed to him.

How did Birbal know who was the real king?

Asked by Neha on 17 May 2021

Your last good ping-pong ball fell into a narrow metal pipe embedded one foot deep in concrete.
How can you get it out undamaged, if all the tools you have are your tennis paddle, shoe laces, and plastic water bottle, which does not fit into the pipe?

Asked by Neha on 10 Nov 2024

When I got four, I have it none.
When I got two, I have it some.
When I got none, I have it all.

What is it?

Asked by Neha on 31 Aug 2024


I’m tall when I’m young, and I’m short when I’m old. What am I?

Asked by Neha on 12 Feb 2022

15 caves are arranged in a circle at the temple of doom. One of these caves has the treasure of gems and wealth. Each day the treasure keepers can move the treasure to an adjacent cave or can keep it in the same cave. Every day two treasure seekers visit the place and have enough time to enter any two caves of their choice.

How do the treasure seekers ensure that they find the treasure in the minimum number of possible days?

15 Cave Riddle

Asked by Neha on 29 Jul 2024

A bomb exploded in a room full of married couples and no one died. How?

Asked by Neha on 10 May 2025


Can you decipher these quotes by Albert Einstein?
Blf xzm mvevi hloev z kilyovn lm gsv ovevo lm dsrxs rg dzh xivzgvw.

Asked by Neha on 12 Jun 2024

Hot Articles

Amazing Facts

Word ladder puzzle

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