IBM Interview Question

Binary tree based question was asked