GE Interview Question

Tree-based questions.