Jane Street Interview Question

Optimal strategy for guessing a sequence of random coin flips and expected return