Morgan Stanley Interview Question

Right view of a tree.