IBM Interview Question

simple problem-solving questions. Binary tree.