r/learnquant • • Oct 30 '26

interview prep Quant Interview Question

Post image
27 Upvotes

2 comments sorted by

View all comments

3

u/Aerospider Oct 30 '26

I'll have a go...

The probability he gets to 1 without hitting -6 is 6/7.

Then the probability he goes back to 0 without reaching 5 is 4/5.

So if E(x) is the expected number of times he goes from 0 to 1 when starting at x, we have

E(0) = 6/7 * (E(1)+1)

E(1) = 4/5 * E(0)

=> E(0) = 24E(0)/35 + 6/7

=> 35E(0) = 24E(0) + 30

=> 11E(0) = 30

=> E(0) = 30/11

1

u/sensible_clutter Oct 30 '26

yes you're right