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

Can you find the missing piece of the Porsche?

Find the missing part

Asked by Neha on 23 Jun 2023


In a fruit store, there was a unique weighing machine that was made to weigh only cherries and strawberries as they were priced the same.

Other fruits like watermelons or mango had different machines as they were expensive.

A man successfully buys watermelons at the price of cherries. How?

Asked by Neha on 30 Apr 2023

Divide 110 into two parts so that one will be 150 per cent of the other. What are the 2 numbers?

Asked by Neha on 27 Oct 2024


Let's play a word game. Following are some meaningless words that can be completed by adding random letters on either side of the word.

For example, the word "rdo" can be formed into "pardon".

Using the same technique, can you complete the given words?
ecalc
airb
rinci
tibac
uidel
gorit
igna
eyho

Asked by Neha on 17 Feb 2025

What has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025

Solve below popular number sequence
314 159 265 358 979 323 846 ?

Asked by Neha on 09 Nov 2025


I can be made.
I can be cracked.
I can be told.
I can be played.

Who am I?

Asked by Neha on 13 Jun 2026

Through your logical capabilities, can you make 7 an even?

Asked by Neha on 04 Mar 2026

Identify the 10 differences between the two given pictures.

Pictures to Identify

Asked by Neha on 22 Dec 2023


I shave every day, but my beard stays the same. What am I?

Asked by Neha on 12 Feb 2022

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.