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

A swimming pool has four faucets. The first can fill the entire pool with water in two days, the second in three days, the third in four days, and the last one can fill the pool in 6 hours.
How long will it take to fill the pool using all 4 faucets together?

Asked by Neha on 11 Nov 2026


What phrase is represented by the Rebus

Unique Rebus Riddle

Asked by Neha on 03 Aug 2026

What 5-digit number has the following property? If we put the numeral 1 in front of the number, we get a number three times smaller, than if we put the numeral 1 behind this number.

Asked by Neha on 24 Nov 2026


Two fathers and two sons decided to go to a shop and buy some sweets upon reaching. Each of them bought 1 kg of sweet. All of them returned home after some time and found out that they had 3kg of sweets with them.

They did not eat the sweets in the way, nor threw or lose anything. Then, how can this be possible?

Asked by Neha on 01 Jun 2024

A tourist visits a small town for his research. While in the town, he decides to get a haircut. Since the town is quite small, there are only two barbers in the town � one on the North Street and one on the South Street. The barbershop on the North Street is a mess and the barber has a weird and pathetic haircut. While the barbershop at the South Street is pretty tidy and the barber as well has an impressive haircut.

Which barbershop will the tourist visit for his haircut and why?

Famous Barber Haircut Riddle

Asked by Neha on 23 Jul 2024

Which three-digit number, made of consecutive digits, like 567, is 2 less than a cube and 2 more than a square?

Asked by Neha on 24 Aug 2024


A guy in his thirties is found dead in a forest. The shocking thing about the body is that he is wearing his swimming trunks snorkel and a facemask.

For your information, the nearest lake is some 10 miles away and the sea is hundreds of miles away.

How did he die then?

Asked by Neha on 15 Oct 2025

Can you identify if it's a murder or a suicide ?


Murder or Suicide?

Asked by Neha on 17 May 2021

If your uncle’s sister is not your aunt, what relation is she to you?

Asked by Neha on 28 Jul 2025


What does this rebus riddle means ?

All Again Rebus

Asked by Neha on 15 Jul 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.