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 a secret society, a buried chamber can be accessed only via a secret password. The password is seven characters long and comprises of just letters and numbers.

You find a code that can help you in cracking the password. The code says "You force heaven to be empty".

Can you deduce the password from that?

Asked by Neha on 14 May 2021


What does does this rebus picture means ?

Rebus Picture Riddle

Asked by Neha on 03 May 2023

There is an English word that can be used up to four times in a row without modifying the spelling and form a valid grammatical sentence.

Do you know what word is that?

Asked by Neha on 18 Aug 2024


One night, a man runs away from home. He turns left and keeps running. After some time he turns left again and keeps running. Later, he turns left one more time and runs back home—but when he gets home, he finds a man in a mask. Who was the man in the mask?

Asked by Neha on 31 May 2025

A girl was standing near the window thinking something. All of a sudden she decides something and throws something out of the window. She dies very soon after throwing it. She was perfectly healthy and had no disease or allergy. No one killed her and she did not commit suicide.

Can you think of any possible explanation that is logical as well for what happened there?

Asked by Neha on 25 Aug 2021

I have lakes with no water, mountains with no stone and cities with no buildings. What am I?

Asked by Neha on 14 Mar 2025


In Greek mythology, the Sphinx sat outside of Thebes and asked this riddle of all travellers who passed by. If the traveller failed to solve the riddle, then the Sphinx killed him/her. And if the traveller answered the riddle correctly, then the Sphinx would destroy herself. The riddle:

What goes on four legs in the morning, on two legs at noon, and on three legs in the evening?

Oedipus solved the riddle, and the Sphinx destroyed herself.

Asked by Neha on 26 Jul 2024

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

How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021


How many bricks does it take to complete a building that is 15 feet wide, 30 feet deep, and 12 feet tall made of brick?

Asked by Neha on 23 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.