You are viewing a single comment's thread. Return to all comments →
They said The Height of binary tree with single node is taken as zero. So, when we will have no node we will going to return -1
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Height of a Binary Tree
You are viewing a single comment's thread. Return to all comments →
They said The Height of binary tree with single node is taken as zero. So, when we will have no node we will going to return -1