Flipping until you've seen both heads and tails
You flip a fair coin repeatedly and stop the moment you have seen both a head and a tail at least once.
What is the expected number of flips until you stop?
You flip a fair coin repeatedly and stop the moment you have seen both a head and a tail at least once.
What is the expected number of flips until you stop?