Morgan Stanley interview question

Some tougher quantitative questions.