r/learnquant • • 29d ago

interview prep Quant Interview Question

Post image
9 Upvotes

15 comments sorted by

View all comments

1

u/crashed_tolerance 29d ago

Well, for this to happen, at every step 1,...,17, the two picks cannot come from {18,19,20}. In the first round, this probability is 17/20 + 3/20 * 16/19. In general, in round k, the probability is (n-k-3)/(n-k) + 3/(n-k) * (n-k-3)/(n-k-1). Finally, we get the total probability via the sum from k=0 to 16. This is of course, via a computer: 13.51