Jane Street interview question

Problems regarding probability and expectation.