Brain Teasers and Puzzles

Brain teasers, puzzles, riddles, and other challenges

Prison Keys Strategy

A prison warden was feeling capricious and played a game with the prison keys:

  1. Each prisoner is handed a key to another prisoner’s cell.
  2. Each prisoner will know which other prisoner was initially given the key to their cell (but does not know whose key they were handed).
  3. Each day, when all prisoners are out of their cells and no one is watching, each prisoner is allowed to place keys in another prisoner’s cell.
  4. Each night, each prisoner can collect any keys placed in their cell.
  5. The prisoners can summon the warden when they’re sure everyone has their own key – but if they are wrong, they’re immediately executed.
  6. The prisoners can discuss a strategy beforehand but cannot communicate in any way after keys are handed out.

What is the fewest number of days it would take for the prisoners to be sure everyone has their key? What was the strategy to achieve this?

View Solution

Sharing Game Theory Puzzle

In this sharing game theory puzzle, 3 friends take turns taking from a jar of 1000 candies to share. For example, the 1st friend could take 500 candies, then the 2nd friend could take 400, and the 3rd friend would take the remaining 100.

No one wants to be seen as greedy, but no one wants to end up with the fewest candies either. As such, their goals are (in order of preference):

  1. Do not end up with the most candies, nor the fewest candies (a tie for most or fewest also fails this condition)
  2. End up with as many candies as possible

All of them are logical, rational, know each other’s goals, but cannot communicate before or during sharing. How many candies should each friend end up with?

View Solution