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

What am I?

Asked by Neha on 10 Apr 2025


Akbar called Birbal and asked him to draw a line on the floor. He asked Birbal to make that line smaller without erasing it. Birbal smiled and did it before Akbar could blink his eyes.

How did he managed to do it?

Akbar Birbal line on the floor riddle

Asked by Neha on 07 May 2021

What does the below mathematical rebus mean?

Love the Rebus Riddle

Asked by Neha on 02 May 2026


A rubber ball keeps on bouncing back to 2/3 of the height from which it is dropped. Can you calculate the fraction of its original height that the ball will bounce after it is dropped and it has bounced four times without any hindrance ?

Asked by Neha on 16 Sep 2024

If eleven plus two equals one, what does nine plus five equal?

Asked by Neha on 07 Oct 2021

Replace each alphabet with the number (1-9) to make the below equation correct.

AB * C = DE - F = GH / I

Asked by Neha on 29 Aug 2024


Before Balboa discovered the Pacific Ocean, which was the largest ocean before that?

Asked by Neha on 03 Jul 2026

What is greater than gold but cannot be bought. it can never be sold and can earn if its sought. though it can be broken, it can still be fixed. for by birth it can't start nor by death it is ended.what am i?

Asked by Neha on 19 Mar 2022

Count the number of triangles in the below picture?

Triangles Count

Asked by Neha on 12 Oct 2023


A 3 digit number is such that it's unit digit is equal to the product of the other two digits which are prime. Also, the difference between it's reverse and itself is 396.

What is the sum of the three digits?

Asked by Neha on 13 Dec 2020

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.