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

How can you take 2 from 5 and leave 4?

Asked by Neha on 03 Apr 2022


When monkey rotate the gear, which mark will be hit 1 or 2 ?

Monkey Gear riddle

Asked by Neha on 30 Apr 2021

Transform the word THINK into BRAIN while changing only one letter at a time in a manner that each of the word in the process is a real word!!!

Asked by Neha on 16 Feb 2023


In a basket of apples,
when counted in twos, there was one extra
when counted in threes, there were two extra when counted in fours, there were three extra
when counted in fives, there were four extra
when counted in sixes, there was five extra.

However, if the apples were counted in sevens, no extra apple was left. Can you calculate the minimum number of apples that were present in the basket?

Asked by Neha on 12 Sep 2023

First, think of the colour of clouds. Next think the colour of snow. Last, think of the colour of the moon. Now, what do cows drink?

Asked by Neha on 28 Apr 2022

I have some blue and red sock in my drawer. I have a total of 4 socks. I pick 2 socks and the chance that I get a pair of red socks is 1/2.

What is the chance of picking a pair of blue socks?

Asked by Neha on 22 Mar 2023


John's five friends Rachel, Jacob, Phoebe, Joey and Chandler live on the same road.

Rachel lives in the house: A, Jacob lives in the house: B, Phoebe lives in the house: C, Joey lives in the house:D, Chandler lives in the house: E

Mathematically
B*C*D = 1260
B + C + D = 2E
2A = E

The road numbers run from 2 to 222.

Can you tell me the house number of each of John's friends?

Asked by Neha on 10 Sep 2024

In a contest, four fruits (an apple, a banana, an orange, and a pear) have been placed in four closed boxes (one fruit per box). People may guess which fruit is in which box. 123 people participate in the contest. When the boxes are opened, it turns out that 43 people have guessed none of the fruits correctly, 39 people have guessed one fruit correctly, and 31 people have guessed two fruits correctly.
How many people have guessed three fruits correctly, and how many people have guessed four fruits correctly

Asked by Neha on 17 Aug 2023

It is a nine-letter word.
The exact opposite of the phrase "friendly and outgoing"
It contains the word "over".
It starts will a vowel.

What is it?

Asked by Neha on 25 Mar 2025


There is a square of a particular number which when doubled, becomes 7 more than its quarter.

Can you find the number?

Asked by Neha on 17 Jul 2023

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.