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

This is a game of Tic-Tac-Toe which you all might have played innumerable times. Here, we are playing with the black and white markers instead. Also, there is a bit change to the rules. The changed rules allow you to play just three times. After the three markers are put by each of the players, you can only slide your marker into an empty square that shares a common wall with the square that the marker is leaving. You can refer to the figure given. If this is the position of the game, the white's next move would be from 6 to 3. Now, whatever the black one does, the white one will move his marker from 5 to 2 and he will have a three in a row. What you have to decide is if both of the players are using a perfect strategy, will the white player (who plays first) always win? Or it will be the black one who will win always? Or every game will be a draw?

Tic Tac Toe Riddle

Asked by Neha on 11 Aug 2026


How many letters are in the alphabet?

Asked by Neha on 04 Nov 2025

A girl says this to her best friend: “I was born in 1955, and I celebrated my 17th birthday last weekend.” Her best friend thinks she’s lying, but she’s actually correct. How is that possible?

Asked by Neha on 12 Jun 2025


What does this Rebus Picture means ?

Rebus riddle with Show on the side

Asked by Neha on 23 Apr 2021

Replace the question mark with the correct number, given the pair of numbers exhibits a similar relationship?

? : 3839 :: 11 : 1209

Asked by Neha on 03 Jun 2023

Find the 8 in the below-given Image.

Asked by Neha on 24 Feb 2025


A red house is made out of red bricks. A yellow house is made out of yellow bricks. And, a blue house is made out of blue bricks. So, what is a greenhouse made of?

Asked by Neha on 30 Jun 2025

You can move only two matchsticks in the given picture. What is the highest number you can form by doing it?

Maximum Number Riddle

Asked by Neha on 14 Aug 2026

In the given picture, you can find two letters missing. When two particular letters are placed in the missing spots, you get an eight-letter word while reading in the anti-clockwise direction. Can you find out the missing letters and the missing word eventually?

Picture Puzzle

Asked by Neha on 23 Dec 2024


Can you find any error in the following sentence?

A taxi was standing outside a fort at night. A man came out of the fort, opened the gate and hit the taxi driver killing him instantly. He took all the money out of the meter and started running till he was caught by a local sheriff.

Asked by Neha on 14 Jun 2026

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.