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

In 1990, a person is 15 years old. In 1995, that same person is 10 years old. How can this be?

Asked by Neha on 06 Jul 2025


Tell me the Hindi name of a Vegetable which if we remove 1st word will become a precious Stone and by removing the last word it will become a sweet eatable.

Asked by Neha on 16 Apr 2025

A new Engineering building containing 100 offices had just been completed. John was hired to paint the numbers 1 to 100 on the doors. How many times will John have to paint the number nine (9)?

Asked by Neha on 24 Feb 2024


Can you place six X (crosses) in below board without making three in a row in any way ?

Kris Cross Riddle

Asked by Neha on 17 May 2021

Where do you go to learn how to make ice cream?

Asked by Neha on 07 Aug 2024

Below the four parts have been reorganised. The four partitions are exactly the same in both arrangements. Why is there a hole?

Missing Piece Riddle

Asked by Neha on 03 Apr 2021


Four men were in a boat on the lake. The boat turns over, and all four men sink to the bottom of the lake, yet not a single man got wet! Why?

Asked by Neha on 22 Oct 2024

Edward James went for tiger hunting.

It was not his lucky day.



He got six tigers without heads, nine tigers without the tail and eight cut in two halves.

How many tiger did he hunted ?

Asked by Neha on 22 Apr 2021

Below, you can see some coding:
January = 1017
February = 628
March = 1335
April = 145
May = 1353
June = 1064
July = 1074
August = 186

Now deciphering the way it has been coded, can you find out how September will be coded?

Asked by Neha on 30 Jan 2025


Using eight eights and addition only, can you make 1000?

Asked by Neha on 17 Feb 2024

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.