This problem is based on an Optiver interview problem described here.
A game consists of one fair coin toss per round. Play ends as soon as a round produces heads. What is the expected number of rounds played?