Pregunta de entrevista de IBM

Binary tree based question was asked