LinkedIn interview question

Coin flip probability