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

Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021


Spot what is wrong here in below Picture?

Spot the wrong in Picture

Asked by Neha on 11 Feb 2023

How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023


Chocolate costs 6 rupees and a Toy costs 5 rupees. If you have 32 rupees in total, how many chocolates and how many Toys can be purchased with that amount?

Asked by Neha on 02 Mar 2025

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

An express train takes 3 seconds to enter the tunnel which is 1 km long.
If it is travelling at 120 km an hour, how long will it take to pass completely through the tunnel?

Asked by Neha on 26 Nov 2023


I am taken from a mine and shut up in a wooden case, from which I am never released, and yet I am used by almost every person. What am I?

Asked by Neha on 24 Mar 2025

A prisoner is told: "If you tell a lie, we will hang you and if you tell the truth, we will shoot you." What did the prisoner say to save himself?

Asked by Neha on 18 Oct 2021

Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021


There was a strange boy who was born before his father. How can this be possible?

Asked by Neha on 06 Jul 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.