Qm

Flip until heads, earn three dollars per flip

You flip a fair coin over and over until the first time it lands heads, then you stop. You earn $3 for every flip you make, including the flip that finally lands heads.

On average, how much do you earn playing this game?

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

Doubling coin prize, capped after five flipsDoubling coin prize, capped after four flipsDoubling coin prize, but three flips or nothingTripling coin prize, capped after three flipsDoubling coin prize, capped after six flipsFlip until tails, earn two dollars per flip
All questions →