# Puzzle | Thief, Treasure and 2 Doors

Puzzle:

A thief has just found a pair of ancient treasure caves.

• One of the caves is filled with unbelievable treasure and the other has a fire breathing monster that will eat anyone
who opens that cave.
• One cave has a black door decorated with diamonds and the other cave has a brown door decorated with sapphires.
• Each of the doors has an engraved description on top. The descriptions say:

Black Door: Monster is here.

Brown Door: Only One Door speaks the truth.

### Which door should the thief open?

Solution:

Let us look at the description on the Brown door. It can be correct or wrong.

• Scenario 1: The description on the Brown door is true. Then the description on the Black door has to be true. That means that the inscription on the Black door is false and the cave with black door contains the treasure!
• Scenario 2: The description on the Brown door is false. Then either both the descriptions are false or both are true. Both cannot be true as that is impossible and not consistent. That means that both descriptions are false. Again, the treasure is in the Black door.
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Previous
Next