Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BinaryTreeNode.js height() gives one less than tree's height.
The height of the tree is the number of edges in the tree from the root to the deepest node. height right now gives one less than the total number of the edges, small tweek made will fix it.
- Loading branch information