Nirvana Insurance interview question

1 question on Binary tree.