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

Why do you find that most of the buildings are deprived of the 13th floor?

Asked by Neha on 11 Jan 2025


While house hunting in London, I came across a very good leasehold property Discussing the lease the landlady told me:

'The property was originally on a 99 years lease and two-thirds of the time passed is equal to four-fifths of the time to come. Now work it out for yourself and see how many years are to go!

Asked by Neha on 18 Apr 2022

Can you name an animal whose killing cannot be performed without spilling your own blood?

Asked by Neha on 28 Feb 2023


There are five men, let's say Tarun Harish Lavesh, Manoj, and Manish. All of them have a dot mark on their forehead. They can't see the dots on their forehead but can see the ones on others. The owner of WHITE Dot is an honest person and will never lie, while the owner of BLACK Dot always tells the lie.

This is the statement from Tarun Harish Lavesh and Manish:
Tarun: 'I see 3 whites and 1 black'
Harish: 'I see 4 black'
Lavesh: 'I see 3 black and 1 white'
Manish: 'I see 4 white'

What colour is the dot on each of Tarun Harish Lavesh, Manoj, and Manish's forehead?

Asked by Neha on 09 May 2026

I’m light as a feather, yet the strongest person can’t hold me for five minutes. What am I?

Asked by Neha on 15 Feb 2022

If an earthquake is 1 point higher on the Richter Scale than another earthquake which is actually 10 times stronger, how much stronger would an earthquake be if it was just half a point higher on the Richter scale?

Asked by Neha on 23 Jun 2024


Baseball bat and ball cost $100. If the bat cost $99 more than the ball, what is the cost of each?

Asked by Neha on 23 May 2021

What can run but never walks, has a mouth but never talks, has a head but never weeps, has a bed but never sleeps?

Asked by Neha on 17 Mar 2025

A man is surviving on an island along with his friend. They have been starving for four days for food. Suddenly, they find a fisherman. The friend goes with the fisherman in order to catch the fish (if they can find any).

The fisherman returns after some time but he is alone and has some salmon that he had prepared. When asked, the fisherman tells him that his best friend fell off the boat and drowned in the water. Starving for so long, he eats the meal while crying for his friend.

After being rescued, he goes to a diner and orders salmon. When he eats his meal, he jumps and commits suicide. Why did he do it?

Asked by Neha on 22 May 2024


Place the numbers from 1 to 9 in the circles in a manner that each side of the triangle sums up to 17.

Nine Numbers Riddle

Asked by Neha on 21 Jun 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.