We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RBTree rbTree1; rbTree1.insertValue(1); rbTree1.insertValue(2); rbTree1.inorder();//output 1, 2 rbTree1.deleteValue(1); rbTree1.inorder();//output nothing
The text was updated successfully, but these errors were encountered:
The impl is not correct, here we set the root to null in fixDeleteTree:
if (node == root) { root = nullptr; return; }
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: