
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


What Should the Young Man Do to Escape Danger?

Who is the mother of the boy playing in the picture below?

Doctors advise tired women to look at muscular men often

Quiz you find the hidden face in the picture in 3 seconds

The little hole near your sink’s rim? It’s more useful than you think

For those of you who don't understand

The Shape of Your Ears Can Reveal Your Personality and Fortune

Where Is the Snake Hiding?

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
News Post

How the Leopard Got His Spots

The Vendetta

Why smart people always do that?

Stop Charging Your Battery to Full — This Proven Method Protects It from Damage and Keeps It Running for a Decade

Don’t Scrub Burnt Pots and Pans with a Metal Brush – Try This Simple Trick and Make Them Shine Like New in Minutes

COVID-19 returns, advice for middle-aged and elderly people: Touch 2 things less, eat 3 dishes more, do 4 things well, strengthen immunity

It's Not Your Air Conditioner This Hidden 'Power Thief' Is Draining Your Wallet

Woman gets meningitis from a food that is in every house's refrigerator

25-year-old man pees "strange green liquid" and falls into a deep coma due to deadly poison commonly found in a popular dish

Warning: These 4 household items are "formaldehyde storage", the whole family is "poisoned" without knowing it

Secret to Keeping Chilies Fresh for 6 Months: Every Home Cook Should Know This!

3 Common Household Items Loaded with Toxins: Many Families Use Them Daily Without Realizing the Danger

What to Do If You Catch the New COVID-19 Variant: Expert Tips for Easing 4 Common Symptoms

I'm a doctor and I threw my air fryer in the BIN - and you should too for ca.n.cer reasons

How Long Can Pork Be Kept in the Fridge Before It Becomes Unsafe to Eat? Expert Warns: After This Time, It’s Full of Parasites

Persistent Throat Tightness Mistaken for a Stomach Issue — Woman Accidentally Discovers She Has Thyroid Cancer

6 Household Items That Seem Harmless but Secretly Block Prosperity and Disrupt Your Life

"5 no's" when eating water spinach, know to avoid or you will bring disaster

Study of 900 COVID-19 patients finds: Vitamin helps restore physical strength faster
