Skip to content
LeetQuant

Medium · Expected Value & Decision Theory · Numerical · ~8 min · #77

Uniforms Until the Sum Exceeds One

Real interview · Two Sigma

You draw independent U(0,1)U(0, 1) random variables until their running sum exceeds 1. What is the expected number of draws?

Hints · 0 of 2 shown

Worked solution

Give the problem an honest attempt first, then reveal the full explanation.

Reported in interviews

Candidate-reported and unverified; the firm may phrase it differently or no longer ask it. The wording here is our own paraphrase, and the solution was written and checked independently of any answers posted at the source.

Related questions

Concepts

Tail-sum formulaVolume of the simplex

Relevant for

Quant ResearcherQuant Trader