Question d’entretien chez Jane Street

Coin flipping problems, consider conditional probability