Jane Street Interview Question

Expected value, coin flip games