Random numbers added until the total tops one
You draw independent random numbers, each uniform on , and keep a running total. You stop as soon as the total first exceeds .
On average, how many numbers do you draw?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion Β· reading is open to everyone
π‘ Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussionβ¦
Learn the concepts
The theory behind this question.
Related questions
Random numbers added until the total tops one halfRandom amounts added until the total tops one hundredRandom numbers multiplied until the product drops below a thresholdRandom numbers multiplied until the product drops below 1/e squaredTaking turns to roll the first six
All questions β