Qm

Random amounts added until the total tops one hundred

You draw independent amounts, each uniform on [0,100][0, 100], and add them up, stopping when the running total first exceeds 100100.

On average, how many amounts 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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 oneRandom numbers added until the total tops one halfRandom 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 →