Jane Street Interview Question

Two math questions. One probability focused coin game and one expected value.