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 22 Mar 2022


If all Goats are Sheep and all Sheep are Deers, are all Deers Goats ?

Asked by Neha on 16 Jan 2021

Mother's Name is Mrs. SIXTY TWO
Son's Name is FIFTY TWO
Daughter's Name is FORTY TWO
What is Name of Father?

Asked by Neha on 20 Mar 2022


On the occasion of Diwali, online seller companies in India are offering a big discount on Iphone14 as below.

: Flipkart offers a Flat 65% discount
: Amazon offers a 10% discount over and over again.
: Shopclues offers RS.45,000 off.

If the original cost of the iPhone is Rs.70,000 Which is the best offer for you?

Asked by Neha on 01 Sep 2024

By using all numbers, i.e. 123456789 and subtraction/addition, operators number 100 can be formed in many ways.
Example: 98 + 7 + 6 - 5 - 4 - 3 + 2 - 1 = 100

But if we add a condition use of the number 32 is a must. Then there are limited solutions.
One of such solution is: 9 - 8 + 76 + 54 - 32 + 1 = 100

Can you tell me any other solution?

Asked by Neha on 10 Aug 2024

I am not a bull but I have horns.
I am not an ass but I have a pack saddle.
Wherever I go, I leave silver behind me.

Who am I?

Asked by Neha on 26 Jan 2026


Can you fill the blank with the correct number?

6 30 870 756030 _____

Asked by Neha on 20 Feb 2023

I am weightless, but you can see me. Put me in a bucket, and I'll make it lighter. What am I?

Asked by Neha on 23 Nov 2025

I am a mother. However, I never give birth.

I am a father. However, I never nurse my children.

Wandering is not possible for me, but standing still happens occurs rarely.

Who am I?

Asked by Neha on 30 Oct 2024


It's a test that will check your IQ.

Suppose you have one 11 minute hourglass and one 13 minute hourglass.

Can you measure exactly fifteen minutes using them ?

Asked by Neha on 01 Jul 2021

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.