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 fresh card pile is taken out of a box (the pile has 54 cards including 2 jokers). One joker is taken out and then the cards are shuffled for a good amount of times. After shuffling, two piles are made by dividing that one pile.



What is the possibility that one of the piles will have a card sequence from A to K in order?

Card Mixing Riddle

Asked by Neha on 04 Apr 2021


French Police inspects a room where there are no windows, no doors, no tables and is almost empty expect there is just a puddle of water. They found a dead man who obviously hung herself from the ceiling, but they are not able to figure out how this had happened.

John and Jacob entered the crime scene and easily able to solve the case.

How did the man die?

Asked by Neha on 09 Sep 2021

Can you find out what is missing?

1 3 5
2 4 ?

Hint: It's not six. Think out of the box.

Asked by Neha on 25 Aug 2023


How many pluses should we put between the digits of 987654321 to get a total of 99, and where?

Asked by Neha on 25 Sep 2021

A very interesting trivia question for all.

Why do men's shirts have their buttons on the right side and women's have buttons on the left-hand side?

Asked by Neha on 04 Nov 2023

A rain drop fell from one leaf to another leaf and lost 1/4th of its volume. It then fell to another leaf and lost 1/5th of the volume. It again fell on another leaf and lost 1/5th of the volume.



This process kept repeating till it fell on the last leaf losing 1/75th of its volume.



Can you calculate the total percentage of loss from the initial volume when the drop has fallen to the last leaf accurate up to two decimal places?

Asked by Neha on 16 Feb 2021


An office is divided into 8 cubicles. How many of the cubicles are painted if only 1/8 of the cubicles are painted?

Asked by Neha on 23 Feb 2022

Solve this tricky question. You are trapped in a forest. With you, you have a gun preloaded with two bullets in it. In front of you, there is a tiger, a leopard and a jaguar.

How do you survive?

Asked by Neha on 24 Mar 2024

Replace all '*' with digits 1, 2, 3, 4, 5 and 6 to make below statement true.

* *
x *
=====
* * *

Asked by Neha on 29 Jul 2021


Jack and Joseph are well-known golf rivals. One Day during a match, they were level at a score of 30. Jack hit a bad shot and Joseph added 10 to his score. Joseph then hit an awesome shot and he won the game.

How ?

Asked by Neha on 02 Jan 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.