Morgan Stanley Interview Question

Entire assignment kind of interview