Skip to content
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

AVL tree height issue fixed. #1363

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Ashishkushwahaaaa
Copy link

AVL tree height issue if fixed, just change the sequence of the calculation of the height of the child and parent in the left rotate method(because you have assumed the child is above the parent before the rotation) or change the method to use as the normal case(i have written code by assuming parent is above than child before rotation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant