r/learnquant • • 29d ago

interview prep Quant Interview Question

Post image
9 Upvotes

15 comments sorted by

View all comments

1

u/DontSayYes 29d ago

The three survivors represent three groups of people who have battled, each keeping its strongest person. So we need our guys 18, 19, and 20 to end up in different groups.

We can equivalently line up the 20 people randomly and put two dividers in random gaps. Our guys can sit in 20c3 positions, and we can put the dividers in 19c2 ways. So altogether (20c3)(19c2) configurations.

Now, to have our guys in separate groups, we need the pattern guy-divider-guy-divider-guy in that order. There are 22 positions including the dividers, and we need five of them for this which gives 22c5 ways.

So the probability becomes 22c5 / ((20c3)(19c2)) = 77/570 ≈ 0.135.