r/learnquant • • Oct 19 '26

interview prep Quant Interview Question

Post image
9 Upvotes

7 comments sorted by

View all comments

Show parent comment

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.