Pergunta de entrevista da empresa Virtu Financial

Expected value with coin flipping problem