Introduction
Joker and Bane are two of the most notorious criminals in Gotham city and have somehow always succeeded in evading the Gotham Police Department.
The Gotham District Attorney, Harvey Dent, finally decided to cooperate with city hero Batman to apprehend the two criminals.
After weeks of struggle, Batman finally managed to get the two criminals into police custody. But the problem was neither of the two was willing to cooperate in the interrogation. The police department made them an intriguing offer in order to conduct their investigation.
Problem Overview
The police made their offer to both the criminals to proceed with the investigation. The police told both of them that -
“You are going to serve 2 years of prison. However, if you decided to confess and the other person didn’t, you would be set free, and the other person would serve 5 years of punishment. But if both of you confessed, then you’re both going to serve 3 years in prison.”
Now it’s up to the criminals to make their decision.




