Prisoner and Policeman — Puzzle for Interview rounds

Placewit
1 min readJun 30, 2021

--

Question :

Policeman decided to punish the Prisoner and asked him to make a statement. The Prisoner should make such a statement so that he would be alive.

If the statement is held true by Policeman, the Prisoner will be hanged to death and if the statement is held false, the Prisoner will be shot dead. What should the prisoner say ?

Solution :

The Prisoner said, ‘I will be shot dead’
If Policeman says the statement is true, the Prisoner will be hanged to death which will make his statement false.
If Policeman says the statement is false, the Prisoner will be shot dead which will make the statement true.

Thanks for Reading

Placewit grows the best engineers by providing an interactive classroom experience and by helping them develop their skills and get placed in amazing companies.

Learn more at Placewit. Follow us on Instagram and Facebook for daily learning.

--

--

Placewit
Placewit

Written by Placewit

Upskilling students for tech placements!

No responses yet