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 drop a raw egg from a height onto a concrete floor without cracking it?

Asked by Neha on 27 Jan 2021


What is so fragile that saying its name breaks it?

Asked by Neha on 19 Oct 2021

It's pretty hard to give up.
If you remove a part of it, you will be left with a bit.
Even if you remove another part, the bit still remains.
Remove one more and it still remains.

What is it?

Asked by Neha on 06 May 2025


There are two words one resembles the "state of rest" and the other is related to "writing/reading material".

Can you name these two words which also sound similar?

Asked by Neha on 21 May 2024

What do you call a fish without an eye?

Asked by Neha on 21 Apr 2023

With pointed fangs I sit and wait; with piercing force I crunch out fate; grabbing victims, proclaiming might; physically joining with a single bite. What am I?

Asked by Neha on 13 Mar 2025


The teacher told the student that if he told a lie then he will be expelled from school and if he told the truth then he still is expelled from school.

What can a student say to prevent his being expelled from school?

Asked by Neha on 17 Nov 2023

There was an aeroplane crash, every single person died, but two people survived. How is this possible?

Asked by Neha on 28 Dec 2023

For an extra income, John decided to work at a Hotel for one hour daily. The manager offers him that they will pay him $11 after every 11 days.
However, John offered a different proposition to the manager. The offers stand as:
He will be paid just a penny on his first day.
Two pence will be paid on the second day,
Four pence will be paid on the third day.
And so on till the 11th day.

Should the Hotel manager accept his offer?

Asked by Neha on 30 Nov 2025


Why is Saturday stronger than Monday?

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