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 picnic session, a footballer was practicing. During his play, he busted lips and ears and broke ribs and thighs. However, he was still able to play a professional match on the very next day.



How can this be possible?

Asked by Neha on 20 Jan 2021


Replace the question mark with the correct number in the below-given picture?

Number Riddle

Asked by Neha on 08 Sep 2023

The barber of Town shaves all men living in the town. No man living in the town is allowed to shave himself. The barber lives in that town. Who then shaves the barber of the town?

Asked by Neha on 25 Oct 2021


A man is approaching a broad and barren land. He has a package with him. If somehow, he is unable to open the package before reaching the land, he will die.

Can you guess what is present in the package?

Asked by Neha on 17 May 2025

Suppose you are sitting in an interview and the interviewee asks you an aptitude question.

You have three buckets with a capacity of 4 litres, 8 litres and 10 litres and you have a large tank of water. Now you have to measure 3 litres of water precisely using those buckets. How will you do it?

Asked by Neha on 04 May 2025

Which wheel of car does not rotate when you turn your car right?

Asked by Neha on 08 Aug 2021


Place the numbers from 1 to 9 in the circles in a manner that each side of the triangle sums up to 17.

Nine Numbers Riddle

Asked by Neha on 21 Jun 2021

What does this Rebus Picture means ?

Rebus riddle with Show on the side

Asked by Neha on 23 Apr 2021

The sum of a mother, her baby and her dog's weight is 170 Kg. How much does the baby weigh if the mother weighs 100 kg more than the combined weight of the baby and the dog, and the dog weighs 60 per cent less than the baby?

Asked by Neha on 01 Feb 2025


He loves to dance, twist and prance, he shakes his tail, and as a way he sails, wingless he flies into the sky. What is he?

Asked by Neha on 19 Aug 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.