Jane Street Interview Question

Probability Question: Gambling game with a coin