Morgan Stanley interview question

basic probability, statistics and some leetcode easy level coding