Jane Street interview question

basic probability