
Open the Right Doors to Win a Car
Open the Right Doors to Win a Car
Two people are allowed to open 2 out of 3 doors. If behind those doors are the car and the car key, they win the car.
Alex Bellos presented this riddle on The Guardian as follows:
Twin brothers Timmy and Tammy are contestants on a game show. They will take turns opening 2 out of 3 doors. Behind the doors are a car, a car key, and a goat, placed randomly. They don't know which item is behind which door.
Timmy goes on stage first. He opens 2 of the 3 doors, then closes them again and exits to a separate room. Then Tammy comes on stage and also opens 2 of the 3 doors.
If Timmy opens the door with the car and Tammy opens the door with the key, the twins win the car. In all other cases, they win nothing.
The twins are given 10 minutes beforehand to plan a strategy to maximize their chances of winning.
What should their strategy be, and what is the highest probability they can achieve?
Solution:
There are 3 doors, and behind them randomly are:
-
A car (C)
-
A key (K)
-
A goat (G)
Let’s label the doors: A, B, and C.
Timmy goes first. He opens any 2 doors, sees what’s behind them, closes them, and leaves. Then Tammy opens 2 doors. They win only if Timmy opens the door with the car and Tammy opens the door with the key.
Here's the challenge: Tammy doesn’t know what Timmy saw, and they can't communicate. So their only chance is to agree on a strategy beforehand that allows Tammy to deduce where the key is based on which doors she opens and what she finds.
Let’s think carefully. The total number of ways to randomly assign C, K, G behind 3 doors is 6 (3! permutations):
-
C-K-G
-
C-G-K
-
K-C-G
-
K-G-C
-
G-C-K
-
G-K-C
Each placement is equally likely.
Key Insight:
Timmy sees the contents behind 2 doors. That means he knows 2 out of the 3 items (but not necessarily their exact identities, unless he sees both the car and the key).
Timmy’s role is to encode information by which 2 doors he chooses to open. That way, Tammy, by following the agreed strategy, can infer where the key is, depending on what she finds.
Let’s define a strategy:
-
The twins agree to map each of the 6 permutations to a specific pair of doors Timmy will open.
-
When Timmy sees a configuration (e.g., he sees the car and goat), he uses a code to select 2 doors that encode where the key is.
-
Tammy then uses the agreed strategy to decode Timmy’s message and pick the right door for the key.
It turns out this is possible.
What’s the maximum probability?
Because there are 6 possible assignments of C, K, and G to 3 doors, and Timmy can choose 3 possible pairs of doors to open (3 choose 2 = 3 combinations: AB, AC, BC), but each pair could be ordered or interpreted in different ways (e.g., based on order of opening, or what is revealed), it is possible to construct a coding strategy that covers all 6 cases uniquely.
So:
✅ With a well-designed strategy, they can always win.
🎯 The maximum probability of success is 100%.
Conclusion:
The twins can win the car 100% of the time if they use a clever encoding-decoding strategy agreed upon before the game. Timmy uses the two doors he opens to encode the location of the key, and Tammy uses their strategy to decode and find it.
News in the same category


The First Animal You See Reveals Something Amazing About Your Personality

Traveling and saw a strange animal, hint: not a pig

What's strange in this photo?

How many circles do you see?

Look at the thickness of your lips, predict your rich or poor fate: Which type are you?

For those who don't know.

This is the correct way to move it.

The Number of Squares You See Will Reveal Your Biggest Flaw?

A Logic Puzzle That Stumped Many — Can You Solve It?

What is she so curious about 🤔

Find the 4 Hidden Faces in the Image

This is someone's name

How many triangles?

Only Those Who Know Traffic Laws Can Spot the Mistake in This Image

80% of people can't spot the snake within 5 seconds — can you?

Why Are So Many People Alarmed After Seeing This Photo?

Why Are Turn Signal Lights Yellow Instead of Green or Red?

Where are the 3 hidden faces?
News Post

Why do flight attendants like to bring a banana on the plane?

What are the symptoms of no.seble.eds and when should you see a doctor?

Here's What Eating Blueberries Every Day Does to Your Body, Says a Registered Dietitian

No matter how delicious they are, don't eat these 5 parts of the pig or you'll get si.ck

5 common foods that ha.rm your li.ver

Tips to fix food that is too spicy when cooking

Adding only water when cooking rice is a big mistake. I will share with you the secret that hotels use

Cardinal Robert Francis Prevost elected as 267th pope, takes name Leo XIV

Take These 5 Items Out of Your Fridge Now One Day They Could Actually "Explode"

This type of leaf contains calcium

Is it right to close the door tightly when using the air conditioner

How to chase away a bunch of rats with just a handful of rice, without using toxic baits

5 Eye Symptoms That May Signal Your Li.ver Is Crying for Help – Women, Don’t Ignore These if You Want to Stay Healthy Every Day

Tips to keep your flowers fresh

Tips to make rice more delicious that not everyone knows

8 Plants You Should Never Grow Indoors—and What You Should Plant Instead

How to pick a sweet and juicy cantaloupe melon

Before the divorce, my husband cooked my favorite fish dish, I was not moved but burst into tears because of 3 bitter truths

How to remove a tight ring on your hand easily without lube
