Morgan Stanley Interview Question

Mostly related to DS, Problem Solving & Designing, SQL( 2 queries max)