Skip to content
LeetQuant

Medium · Expected Value & Decision Theory · Numerical · ~5 min · #110

Apples Left in the Basket

Real interview · WorldQuant

A basket has 4 green and 50 red apples. You remove apples one at a time at random until all 4 green ones are out. What is the expected number of apples left in the basket?

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

Linearity of expectationSymmetry

Relevant for

Quant ResearcherQuant Trader