Prisoners got freed

100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?




Similar Riddles

If 5 cats catch 5 mice in 5 minutes, how long will it take one cat to catch a mouse?

Asked by Neha on 13 Sep 2021


There are two dice with empty faces in front of you and a marker. You can mark any number on each of the faces of the two dice, but you have to display all 31 days of the month using the two of them.

Which numbers will you mark on which dice so that you can easily depict all the dates of the month?

Asked by Neha on 03 Apr 2025

Find the number of squares in the below-given picture.

Count The Number Of Squares

Asked by Neha on 04 Jun 2023


Find The Next Number in the series:

12 13 15 17 111 113 117 119 123 ?

Asked by Neha on 01 Dec 2023

Bopanna was working on a murder case when he received a message about the location of the murder weapon.
The message was encrypted as below.

"deb mitciv eht edisni neddih si nopaew redrum ehT"

Tell me the location of the murder weapon.

Asked by Neha on 04 Jan 2026

I travel all around the world but always stay in the corner. What am I?

Asked by Neha on 09 Mar 2022


A brand new Mobile Phone was on sale at 20% as a promotional offer. By what per cent must the Mobile price be increased to sell it at the original price again?

Asked by Neha on 26 Oct 2023

What brings you down but never up?

Asked by Neha on 22 Oct 2021

In the attached figure, you can see a chessboard and two rooks placed on the chess board. What you have to find is the number of squares that do not contain the rooks. How many are there?

Squares in Chess Board

Asked by Neha on 04 Mar 2024


What is the unique property of the following words ?
* Revive
* Banana
* Grammar
* Voodoo
* Assess
* Potato
* Dresser
* Uneven

Asked by Neha on 20 Aug 2021

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.