Jane Street interview question

Expected value, coin flip games