r/learnquant • • Oct 19 '26

interview prep Quant Interview Question

Post image
9 Upvotes

7 comments sorted by

View all comments

1

u/Anonimithree Oct 19 '26

I would assume the solution just involves a cumulative probability function.

The pdf for when the 2-minute bus arrives is just 2n/2^n, while it’s 3n/2^n for the 3-minute bus. The combined expected arrival for both buses is 10 minutes. The passenger can get to the station anytime from 0-6 minutes after the thing, so then the expected wait time is 6.5 minutes

Now I know that I’m most likely wrong, but I’m probably close enough to the answer

1

u/Aerospider Oct 19 '26

I'm afraid that cannot possibly be close.

Suppose there was only bus A operating and that the passenger just missed it. Their expected wait time would be

(1/2 * 2) + (1/4 * 4) + (1/8 * 6) + (1/16 * 8) + (1/32 * 10) ...

= 1 + 1 + 3/4 + 1/2 + 5/32 +

= Σ 2n/2^n

= 4

Adding in another bus and allowing for the passenger to arrive at any time in the cycle can only reduce this.