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

Two girls were born to the same mother, on the same day, at the same time, in the same month and year and yet they're not twins. How can this be ?

Asked by Neha on 26 May 2021


Prove that the below maths equation is true.

8 + 8 = 91

Asked by Neha on 16 Aug 2021

I am a five-letter word and comprises two different vowels and three same consonants. I am so strong that I can spoil your entire work.

Can you find out who am I?

Asked by Neha on 13 Dec 2024


Which number should replace the question mark?

Triangular Logic

Asked by Neha on 11 Aug 2023

It can't be seen, can't be felt, can't be heard, and can't be smelt.
It lies behind stars and under hills, And empty holes it fills.
It comes first and follows after, Ends life, and kills laughter.
What is it?

Asked by Neha on 17 May 2021

Two guards were guarding the camp.Guard-1 was looking towards the south to make sure no threat is coming from the road.Guard-2 was looking at the north to make sure no threat is coming from the top. Suddenly Guard-1 ask the Guard-2 why he is smiling?How Guard-1 knows that Guard-2 is smiling?

Asked by Neha on 30 May 2023


What has lots of eyes, but can’t see?

Asked by Neha on 20 Feb 2022

If it took eight men ten hours to build a wall, how long would it take four men to build it?

Asked by Neha on 08 May 2023

What jumps when it walks and sits when it stands?

Asked by Neha on 05 Jan 2026


There are three boxes which are labeled as Rs100, Rs150, and Rs200. One box contains two notes of Rs. 50. The second box contains one note of Rs50 and one note of Rs100 The third box contains two Rs. 100 notes. All boxes are labeled incorrectly.

What is the minimum number of boxes you must check in order to label all boxes correctly?

Asked by Neha on 02 Feb 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.