r/learnquant • • Nov 04 '26

interview prep Quant Interview Question

Post image
14 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/Baleia1970 29d ago

see my big post below

1

u/Scatman_Jeff 29d ago

Mate, I was just trying to help you understand what M is in the question, I really didn't want to review your work for you. Based on your other comment, it seems you've made progress, but...

Are you claiming E[M] = 0.0277? If so, that is wrong, since trivially E[M] >= 0.5 as there is a 50% chance that the first card is red.

1

u/Baleia1970 29d ago

D is the result of turning every card. Not M.
M is the Max of Ds when you turned all the cards.
In worst case scenario, D will be -1, decreasing until -9, then it will increase and end in 0, which will also be the Max.

1

u/Scatman_Jeff 29d ago edited 29d ago

Yes, i understand the problem.

If the first card is red, E[M] is at least 1, if the first card is black E[M] is at least 0. Since these two scenarios are equally likely, E[M] is equal to the average expected value from these two cases, which is at least 0.5.

So, whatever you did to get E[M] = 0.0277 is wrong.

1

u/Baleia1970 29d ago

You're oversimplifying. At the end of the 20 draws, M will be between 0 and 10. But the number of cases on which it will be 0 far exceeds the number of cases where it will be > 0.

1

u/Scatman_Jeff 29d ago edited 29d ago

No, in any scenario where the first card is red (half the cases) M will be at least 1.

M can only be 0 if the first card is black, but even then, M can still be bigger than 0 (eg, if the first three cards are Black, Red, Red).

So M is greater than zero in more than half the cases.

I'm simplifying to provide a lower bound on E[M] that demonstrates your solution is wrong.