Morgan Stanley Interview Question

Very short time was given to complete the assessment