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

Replace the (?) with the correct mathematical signs to make the expression equal to 59.

18 ? 12 ? 4 ? 5 = 59

Asked by Neha on 06 Mar 2024


Can you divide the below-given shape into four equal and identical pieces?

Divide in Equal Shape

Asked by Neha on 27 Nov 2023

1 rabbit saw 9 elephants while going to the river. Every elephant saw 3 monkeys going toward the river. Each monkey had 1 parrot in each hand. How many animals are going towards the river?

Asked by Neha on 30 Aug 2025


Living above a star, I do not burn
Eleven friends and they do not turn
I can just be visited in a sequence, not once or repeatedly
PQRS are my initials
Can you tell my name accurately?

Asked by Neha on 11 Jul 2021

There is a family that live in a round house. The two parents go out for a movie and leave a babysitter to watch their son. They come back and the kid was not there. Some one kidnapped him. The maid said she was cleaning in a corner. The cook said he was making pizza. The babysitter said she was getting a board game. Who kidnapped him.

Asked by Neha on 16 Mar 2022

The richest man in the city Mr Rechard is kidnapped. James Bond is appointed to the case. At the crime scene, a note is found written by Mr Richard. The note read:

"First of January, Fourth of October, Fifth of March, Third of June."

James Bond knew that somehow, the killer's name was hidden in the note. The following were the suspects:

Jack Richard, the son and the heir of property.
John Jacobson, the employee of Richard.
June Richard, the wife of Richard.

James Bond took only a few moments to deduce the killer's name. Can you tell who was the killer?

Asked by Neha on 03 Jul 2024


You have 1023 apples and 10 bags. You have to distribute these apples in these 10 bags in any way you choose. But when I ask for a certain number of apples you have to give them in terms of bags without transferring the apples from other bags. How do you distribute the apples?

Asked by Neha on 25 Jan 2021

In the picture that is attached with this question, you can find a square which comprises of four little squares inside it. Consider this square to be made with matchsticks. You have to remove two matchsticks such that only two squares remain instead of five.How will you do it ?

Make Two Square

Asked by Neha on 14 May 2021

I am sure no one can have two things for dinner. what are they?

Asked by Neha on 18 Nov 2024


Replace the question mark in the picture below.

Fill the Required Number Puzzle

Asked by Neha on 07 Jan 2026

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.