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

Can you find out the missing number in the grid?

Missing Number

Asked by Neha on 12 Nov 2023


What is at the end of a rainbow?

Asked by Neha on 17 May 2021

Usually, a boxing match consists of twelve rounds. In a particular friendly match between two heavyweights, the match was finished in the ninth round itself as one of the boxers knocked out the other one.

But, in that fight, no man threw even a single punch.

How can this be possible?

Asked by Neha on 28 Jan 2024


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

Asked by Neha on 18 Nov 2024

In a particular village, only two barbershops exist.

The first shop has a handsome barber with a neat haircut who is handsomely dressed in clean clothes and is extremely humble with his body language. The place is clean and looks hygienic.

In the second shop, you can find a barber with shabby clothing. His hairs are weirdly cut and his clothes still have the stains from last night's dinner. The place is not clean as well and reeks a bit.

You visit the village for the first time and decide to get your haircut. Which barbershop will you like to go for that and why?

Asked by Neha on 25 Apr 2026

In a boat, the father of a sailor's son is sitting with the son of the sailor. However, the sailor is not present on the boat.

Can this even be possible?

Asked by Neha on 24 May 2024


Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Mar 2022

Replace the question mark with the correct number.

2 + 2= 4
3 + 3= 18
4 + 4= 48
5 + 5= ?

Asked by Neha on 15 Aug 2023

I possess a head

I flaunt a tail

But I don't have mouth or legs

Can you find out who I am?

Asked by Neha on 05 Feb 2021


The below mentioned letters have been placed in a order using a logic.

DEAD, BALL, FEAR, SHOP

Can you find the logic?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.