Pregunta de entrevista de Jane Street

Expected values, general probability questions.