Bloomberg Interview Question

Question was related to Tree.