Jane Street Interview Question

Coin flip games with ev and probability