Coin Flipped 3 times interview question

If you flip 3 coins and I tell you that you got at least one heads, what's the probability that all three came up heads?

I came up with 2 different answers to this question depending how you interrupt knowing that one is a heads.

34 Comments
 
Best Response

I got 1/7. For those of you interested in the detailed calculation: Let P(A) = Probability of getting 3 heads Let P(B) = Probability of getting at least 1 head or conversely 1 - probability of getting no heads. (1-(1/2)^3)

P(A) = (1/2)^3 = 1/8 P(B) = (3c1)(1/2)^3 + (3c2)(1/2)^3 + (3c3)(1/2)^3 = 7/8 by binomial theorem

Bayes: P(A|B) = P(B|A)*P(A)/P(B) P(B|A) = 1 (given you have 3 heads, you have a 100% chance of getting at least 1 head P(A) = 1/8 P(B) = 7/8

P(A|B) = P(B|A)*P(A)/P(B) = 1 * (1/8) / (7/8) = 1/7 Boom.

"Luck is what happens when preparation meets opportunity"
 

We did 3 flips, let's call them flip 1, filp 2, and flip 3.

There are two possible interpretations of 'you got at least one heads' I think of:

  • The interrogator decided to tell me the result of one of the flips. It hapened to be flip x which hapens to be heads. -> Two remaining flips need to be heads in order to have 3 heads, both of them are independent of x, which mean we have a probability of 1/4 of having 3 heads: 1/2 for the first remaining flip multiplied by 1/2 for the second one.

  • The interrogator tells me 'you got at least one heads' as a genuine description of what he is seeing, so that I know which are the possible states. -> For each flip there are 2 outcomes, meaning there is a total of 8 (2 x 2 x 2) outcomes. The assertion of the interogator only means that one of outcomes is not possible (flip 1 is not head, flip 2 is not head, flip 3 is not head), there are 7 remaining possible outcomes and only one the 7 is (flip 1 is head, flip 2 is head, flip 3 is head). The probability of having 3 heads is thus 1/7.

If you want the interrogator to be clear you can have the following discussion with him: - Which flip are you telling me about? - The second one. (for example, it doesn't really matter). - Would you had told me about the outcome of the second flip even if it was not heads?

Yes -> 1/4 No -> 1/7

 
"leolum" We did 3 flips, let's call them flip 1, filp 2, and flip 3.

There are two possible interpretations of 'you got at least one heads' I think of: - The interrogator decided to tell me the result of one of the flips. It hapened to be flip x which hapens to be heads. -> Two remaining flips need to be heads in order to have 3 heads, both of them are independent of x, which mean we have a probability of 1/4 of having 3 heads: 1/2 for the first remaining flip multiplied by 1/2 for the second one. - The interrogator tells me 'you got at least one heads' as a genuine description of what he is seeing, so that I know which are the possible states. -> For each flip there are 2 outcomes, meaning there is a total of 8 (2 x 2 x 2) outcomes. The assertion of the interogator only means that one of outcomes is not possible (flip 1 is not head, flip 2 is not head, flip 3 is not head), there are 7 remaining possible outcomes and only one the 7 is (flip 1 is head, flip 2 is head, flip 3 is head). The probability of having 3 heads is thus 1/7.

If you want the interrogator to be clear you can have the following discussion with him: - Which flip are you telling me about? - The second one. (for example, it doesn't really matter). - Would you had told me about the outcome of the second flip even if it was not heads?

Yes -> 1/4 No -> 1/7

.

 

OK, we are given that one coin was heads. If we knew that the given head was the first toss, then the odds of all three being heads are 1/4, as explained above. If we knew that the given head was the second toss, then the odds of all three being heads are 1/4. If we knew that the given head was the third toss, then the odds of all three being heads are 1/4. Sure, we do not know which toss is the given head, but it does not matter. Therefore, if we know that one coin is heads, then the odds that the other two are heads are still 1/4 (1/2 x 1/2).

 

This is simply incorrect. You are over thinking it. There are 8 equiprobable sets of 3 coin flips, 7 of which have at least 1 H, and only 1 of the 7 is HHH. See ActuarialQuant's post for math details. It is essentially the same trick as the famous boy/girl problem.

 

I stand corrected, though am still trying to correct my original thought process, which still makes sense, though apparently wrong. Thanks.

 

Deserunt et aut assumenda a beatae libero. Quidem qui velit doloribus voluptatem. Cum et officia quam quisquam id.

Illum eos dolor quia vero quasi asperiores. Molestiae suscipit iusto eum dolores optio tempore. Repellendus non quis aliquam sunt perferendis repudiandae placeat adipisci. Aut dolore eum occaecati nulla dolores qui. Modi qui quod impedit praesentium tempora repudiandae amet. Voluptas voluptatem est magnam qui velit qui.

Ullam incidunt nam iste. Debitis itaque voluptatum ut incidunt repellendus.

Assumenda atque perferendis vel nulla ratione beatae aut. Qui ea ut neque molestiae. Enim ut quia et accusantium. Quod labore qui iusto sint numquam consequuntur inventore. Vitae praesentium perspiciatis voluptate. Esse nulla maiores porro occaecati similique. Voluptatem dolorem rerum et perferendis.

Follow the shit your fellow monkeys say @shitWSOsays Life is hard, it's even harder when you're stupid - John Wayne
 

Dolor ullam sint expedita qui. Enim voluptates accusamus libero.

Aliquid necessitatibus ut impedit quasi. Delectus sit ullam similique doloremque blanditiis cum. Et tempora doloremque et a. Necessitatibus autem et eos eos molestiae iure totam. Autem qui tempora architecto ullam maxime ea. Distinctio ut distinctio tempore sed consequatur illum praesentium sit. Qui qui omnis deleniti perferendis officiis nesciunt illo.

Nulla illo voluptatibus qui quod provident veniam facilis. Nostrum iure laboriosam earum. Ab et et iusto commodi libero sapiente dolores minus. Quos iste et voluptatum ipsa. Non tenetur magni consequatur. Adipisci est fugiat fugit porro. Alias voluptatem animi porro quia.

Quas quam sint saepe sit et doloremque exercitationem. Tempore qui rem sed delectus ut ea.

Career Advancement Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Morgan Stanley 08 97.8%
  • Goldman Sachs 02 97.2%

Overall Employee Satisfaction

August 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.3%
  • Banco Santander 02 97.8%
  • BMO Capital Markets 12 97.2%

Professional Growth Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 06 98.3%
  • Goldman Sachs 01 97.8%
  • JPMorgan 01 97.2%

Total Avg Compensation

August 2026 Investment Banking

  • Vice President (16) $429
  • Associates (47) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (25) $178
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (83) $151
  • Intern/Summer Analyst (74) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
kanon's picture
kanon
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Secyh62's picture
Secyh62
99.0
5
dosk17's picture
dosk17
98.9
6
CompBanker's picture
CompBanker
98.9
7
GameTheory's picture
GameTheory
98.9
8
DrApeman's picture
DrApeman
98.9
9
Betsy Massar's picture
Betsy Massar
98.9
10
Jamoldo's picture
Jamoldo
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”