Pergunta de entrevista da empresa Cisco

second round asked for binary tree questions.