Morgan Stanley interview question

DSA - Array , Binary Trees , problem solving