Making change in line
people queue for $5 tickets: carry only a $5 bill and carry only a $10 bill, in a uniformly random order. The seller starts with no change and can only give a $10-payer their $5 change from $5 bills collected earlier. What is the probability the seller can serve everyone without ever running short of change? Work it out for . (to 3 decimals)
Show hints (2)+
- Encode $5-payer as , $10-payer as ; every prefix sum must stay (a Dyck path).
- Valid count is the Catalan number ; divide by to get , then set .
Answer
Reveal answer →Final answer
0.25 (± 0.001)
Create a free account to see the full worked solution and track your progress.
Interview format: Market Maker, Systematic & Data-Driven Trading