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

Joseph organises an exotic office New year party at the beach to his important fellow employees.

Following are the important people that will come to the party

1. Joseph

2. Joseph 2 girlfriends- Carol Vanstone and Tracey Hughes

3. The sales head Clay Vanstone.

4. Clay Vanstone 2 associates.

5. Mr. Jeremy and his Secret Tab.

They all need to cross a small river to reach the beach, however, Joseph has got just one boat.

There are few rules for crossing the river.

1. The capacity of the boat is limited to just two people.

2. Clay Vanstone associates will not stay with Joseph without Clay Vanstone.

3. Carol Vanstone and Tracey Hughes will not stay with the Clay Vanstone without Joseph.

4. Mr. Jeremy would never leave the Secret Tab alone.

5. Secret Tab counts as a person.

6. Only Joseph, Clay Vanstone or Mr. Jeremy can drive the boat.

7. The two girlfriends Carol Vanstone and Tracey Hughes will not stay with the Clay Vanstone without Joseph.

8. No Associates would stay with Joseph without their Clay Vanstone.

9. Mr.Jeremy will not leave the Secret Tab alone.

Asked by Neha on 15 Dec 2020


This is a simple one. You just have to count the number of Fs in the given sentence.

Finished Files are the result of years of scientific study combined with the experience of years.

How many did you count?

Asked by Neha on 02 Oct 2024

Role Action
Block Prevents the target player from acting
Redirect Change target player target.
Save Protects the target player from death.
Seer Sees all actions that occurred
Murderer Kills the target player

The following five players are playing:

Andy
Brian
Chris
Daniel
Fred

You are Andy the Seer and you saw the following things:
a) Brian was redirected to Chris.
b) Chris was blocked.
c) Daniel was killed.

Who is the murderer then?

Asked by Neha on 26 Mar 2025


Which is faster, Heat or Cold ? Explain.

Heat or Cold ?

Asked by Neha on 23 Mar 2021

At a Society election for president, precisely 963 votes were cast.
There is a total of 4 candidates that participate in the election.

The winning candidate exceeds the opponents by 53, 79 and 105 votes.

How many votes do each candidate gets?

Asked by Neha on 04 Aug 2024

John was visiting his friend Jacob. He found out that his friend's wife had just killed a burglar in self-defense.
John asks Jacob about what happened and he told that "His wife was watching television when suddenly the bell rang. She thought that it is her husband Jacob but she found the burglar who attacked her instantly and she got so frightened that she killed the burglar immediately with the knife.
John asked the police to arrest his friend's wife. Why?

Asked by Neha on 10 Mar 2023


Take away the whole and some still remain. What is it?

Asked by Neha on 19 Dec 2024

There’s a one-story house in which everything is yellow. Yellow walls, yellow doors, yellow furniture. What colour are the stairs?

Asked by Neha on 12 Feb 2022

Find the last number in the series below:

voN luJ yaM raM ---

Asked by Neha on 05 Jun 2023


I look at you, you look at me I raise my right, you raise your left. What am I?

Asked by Neha on 24 Apr 2023

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.