You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am the Chinese reader of your book "Learning javascript data structure and algorithm". I am studying the AVL tree and found a line of code in the method of removeNode that is unnecessary,
Hey @loiane , think this issue is fixed by this PR #193. And also @hefeng6500, your issue description is not related with the PR that you mentioned in the description? In a word this issue can be safely closed
Hi loiane
I am the Chinese reader of your book "Learning javascript data structure and algorithm". I am studying the AVL tree and found a line of code in the method of removeNode that is unnecessary,
link this
this.getBalanceFactor(node.left) === BalanceFactor.BALANCED
Because I think if the tree is balanced, there is no need to move
additionally,I submitted a request in the project , do you have permission to merge the code for me?
PR: PacktPublishing/Learning-JavaScript-Data-Structures-and-Algorithms-Third-Edition#12
Looking forward to your response!
The text was updated successfully, but these errors were encountered: