Closed alexander-yu closed 2 years ago
Thank you for the PR, I have made use of some parts of the code and documented/tested and fixed some issues along the way, hence the other PR #191 which closes this one with the added functionality
Sample usage
tree.GetNode(3).Size()
It would be a convenient feature for the AVL tree (or possibly the other tree implementations too) if we could have a method on each node that returns the size of the subtree rooted at that node.