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 puzzle is for Harry Potter fans. Do you know why Tom Riddle is called Lord Voldemort?

Asked by Neha on 11 Feb 2025


I am a five-letter word and people eat me. If you remove the first letter I become an energy form. If you remove the first two letters, I am needed to live. Scramble the last three letters and I am a drink. What word am I?

Asked by Neha on 28 May 2025

One day, John and his friends were playing around. Jacob hit something with a Pin and it popped. John's dad came into the room that very moment, but he wasn't mad. In fact, he was smiling. What did Jacob hit?

Asked by Neha on 03 Jan 2025


What work can one never finish?

Asked by Neha on 12 Jan 2024

What is at the end of a rainbow?

Asked by Neha on 17 May 2021

Chhote se Chintu Miyan,
Lambi si Pooch.
Jahan Jaye Chintu Miyan,
Wahan Jaye Pooch.

छोटे से चींटू मियाँ,
लंबी सी पूंछ।
जहाँ जाये चींटू मियाँ,
वहाँ जाये पूंछ।

Bolo kya?

Asked by Neha on 14 May 2021


Identify Me

Hint1: I am a god
Hint 2: I am a planet
Hint 3: measurer of heat

Asked by Neha on 25 Sep 2025

Name the three-letter word that can complete the below words:

A) L O _ _ _ E
B) E D U _ _ _ E
C) _ _ _ E R
D) _ _ _ T L E

Asked by Neha on 23 Jan 2024

I cry without having a voice.
I fly without having wings.
I bite without having teeth.
I whisper without a mouth.

Who am I?

Asked by Neha on 17 Nov 2025


What has 88 keys?

Asked by Neha on 09 Jul 2025

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki