-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 10: Self-Balancing Tree - bug in the removeNode(node, key) method #103
Comments
@thinktinker - thanks for opening the issue. I'll review it and get back to you! |
change: |
@XwBourne agree with you that the @loiane I raised a PR on this #193, on this PR I also add some fixes and updates, details are included in the PR. In addition, the "static" graph explanation in this book might not very intuitive, I found this article about AVL tree https://www.codingninjas.com/codestudio/library/deletion-in-avl-tree, and a very helpful animation https://www.cs.usfca.edu/~galles/visualization/AVLtree.html, you can just reproduce the example from the first link and test the |
@Jeffzholy merged, thanks! |
Attempted a removeNode using both the github's and site's downloadable code for the Self-balancing tree.
Error received are as follows:
Insertion of keys were carried out first, as reflected below:
The text was updated successfully, but these errors were encountered: