← All problems

248.Painting Balls Until They Match

★★★
markov chainsJump Trading
A bag holds 4 balls: 2 red and 2 black. You draw two balls at random, paint the second one the colour of the first, and return both. You repeat until all four balls are the same colour. What is the expected number of operations?

Sign in to submit an answer and track it toward your stats.

Sign in

Want timed drills, mental math, and a market-making game too? Try the full practice suite →