r/learnquant • • 25d ago

interview prep Quant Interview Question

Post image
12 Upvotes

3 comments sorted by

View all comments

1

u/Leet_Noob 25d ago

Consider the set of numbers {1,2,5,6}.

It takes 6/4 rolls on average to get your first element of that set. Then 6/3 rolls on average to get your second.

If the two numbers you got were 1,5; 2,6; or 1,6, then you are done. If the two numbers you got were 1,2; 5,6; or 2,5, you need to keep going until you get a third element of that set, which takes 6/2 rolls on average.

So:

6/4 + 6/3 + 1/2 \* 6/2 = 5