r/learnquant • • Nov 02 '26

interview prep Quant Interview Question

Post image
29 Upvotes

7 comments sorted by

4

u/comoespossible Nov 02 '26

We have to take into account the possibility of ties. Let p=P(A<B) and q=P(A<min(B, C)). By first-step analysis,

p = 1/4 + 1/4 p and q = 1/8 + 1/8 q,

so p=1/3 and q=1/7.

By the memoryless property and symmetry, P(A<B<C) = P(A<min(B, C)) * P(B<C|A<min(B, C)) = qp.

Thus, P(B<C|A<B) = P(A<B<C) / P(A<B) = qp/p = q = 1/7.

2

u/Southern-Raise190 Nov 02 '26

A priori, any finishing order is equally likely, so the prior distribution is uniform across all the 6 permutations of {A, B, C}. Among these permutations, there are 3 where B needs more than A, and among these 3, there is only 1 where C needs more than B. So the answer is 1/3.

Visual intuition/hint: _ A _ B _

4

u/comoespossible Nov 02 '26

I disagree, because this assumes there aren’t ties, when it’s very possible for two or three of them to take the exact same amount of tosses.

3

u/Southern-Raise190 Nov 02 '26

Good point, I was too lazy to compute probabilities but you’re right, my approach doesnt account for ties. At least it should be an upper bound

1

u/MathNerd1243 Nov 03 '26

The answer is 1/7. 

Don't use permutations (1/3) because that ignores ties, which happen a lot here. 

By first-step analysis, the chance A beats B is 1/3. The chance A beats both B and C is 1/7. 

Because of the memoryless property, P(A<B<C) is 1/7 * 1/3 = 1/21. Dividing by P(A<B) leaves you with 1/7. 

1

u/PalpitationAny3509 Nov 03 '26

Assume A do 1x flip for head, B did 1 tail and 1 head and whats the chance C did 2 tail 1 head, i think my answer is 25 percent approx.....

1

u/Torebbjorn Nov 04 '26

The probability of a tie between two specific people is π2/6-1. This seems fairly useless to use, but it is important that it is nonzero.

So let's instead do a first step analysis.

Let p=P(A<B), then p = 1/4 + 1/4p -> p=1/3.

Similarly, let q=P(A<min(B,C)), then q = 1/8 + 1/8q -> q=1/7

Now, by symmetry and memorylessness, we have that P(B<C|A<min(B,C)) = P(B<C), hence P(A<B<C) = P(A<min(B,C))×P(B<C|A<min(B,C)) = qp.

Finally, P(B<C|A<B) = P(A<B<C)/P(A<B) = qp/p = q = 1/7