Question d’entretien chez Jane Street

Probability Question: Gambling game with a coin