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

Can you identify the famous TV character from the rebus below?

Uncover TV character

Asked by Neha on 22 Nov 2023


In a certain bank, a man deposits a certain amount. According to the bank policies, the amount will be doubled up in a year but as the service charge, they will also deduct Rs. 65 by the end of every year.

If after the 6th year, the amount becomes 0, what do you think is the original amount he deposited in the bank?

Asked by Neha on 23 Mar 2026

John was born on March 5, 1970, in Delhi, India. Jacob was born 25 days before John. The year when they took birth, Republic Day fell on Monday.

Can you find out on what day was Jacob born?

Asked by Neha on 24 Dec 2023


After a heavy Thanksgiving meal, the night watchman went to work. In the morning, he told his boss he had dreamed that a saboteur planted a bomb in the factory and that he felt it was a warning. The boss promptly fired him. Worker confused, Why boss fire him?

Asked by Neha on 28 Dec 2025

Outside a tattoo artist's shop, there was a signboard which read 'I make tattoos on only them who do not tattoo themselves'.

Reading it what do you think, does the tattoo artist tattoo himself?

Asked by Neha on 22 Nov 2025

Is the statement valid that it does not matter how much older a sibling is, eventually the younger one will be half as old as the older one?

Asked by Neha on 23 Feb 2023


Find the combined weight of the Cat, Dog and Rabbit in the given picture.

 Weight of Animals

Asked by Neha on 17 Jan 2024

A woman lives in a skyscraper thirty-six floors high and is served by several elevators which stop at each floor going up and down. Each morning she leaves her apartment and goes to one of the elevators. Whichever one she takes is three times more likely to be going up than down. Why?

Asked by Neha on 01 Nov 2024

All Marigolds are flowers.
Few Flowers are used to make colors.
Therefore, some Marigold are used to make colors.

True Or False?

Asked by Neha on 24 Feb 2026


Who is that with a neck and no head, two arms and no hands? What is it?

Asked by Neha on 27 Mar 2022

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.