Pergunta de entrevista da empresa IBM

Binary tree based question was asked