Domanda di colloquio di Jane Street

Problems regarding probability and expectation.