Morgan Stanley Interview Question

DSA - Array , Binary Trees , problem solving