Jane Street interview question

Coin flip questions calculating expectations