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 the image given, you can find several triangles. Can you count them all?

How Many Triangles Are There Puzzle

Asked by Neha on 17 Apr 2025


A Monkey, a squirrel, and an Eagle are racing to the top of the mango tree. Assuming all these animals are in perfect shape, Which animal will reach to Banana first?

Asked by Neha on 10 Apr 2026

Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023


If you say my name, I will no longer exist. What am I?

Asked by Neha on 18 Dec 2023

Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023

You see a boat filled with people, yet there isn’t a single person on board. How is that possible?

Asked by Neha on 12 Feb 2022


A man has eighty-one cows ( numbered 1,2,3...81 as such). The beauty is that cow no. 1 gives 1ltr of milk, cow no. 2 gives 2ltrs of milk and so on. The man wants to equally distribute the cows among his nine sons so that each one of them gets the same quantity of milk.

Asked by Neha on 05 Jan 2024

Prove that the below maths equation is true.

8 + 8 = 91

Asked by Neha on 16 Aug 2021

What does the below rebus riddle means?

Wise Rebus Riddle

Asked by Neha on 04 Jul 2021


It has horns but can’t beep. It is like to bleat but It is not a sheep. What is it?

Asked by Neha on 30 Oct 2025

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.