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
As the title of this issue mention you need to add one line of code, otherwise all the nodes we be removed
if (found) { // duplicated: value already exist on the tree found.meta.multiplicity = (found.meta.multiplicity || 1) + 1; // <2> newNode = found; // new line to add }
The text was updated successfully, but these errors were encountered:
fix(bst): on duplicates values the same node is returned
d350da8
Fixes #99
Great finding @jemmali-git, thanks for reporting it. It's fixed now!
Sorry, something went wrong.
🔖 chore(release): 2.7.5
03bafbb
## [2.7.5](2.7.4...2.7.5) (2021-05-24) ### Bug Fixes * **bst:** on duplicates values the same node is returned ([d350da8](d350da8)), closes [#99](#99)
🎉 This issue has been resolved in version 2.7.5 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
As the title of this issue mention you need to add one line of code, otherwise all the nodes we be removed
The text was updated successfully, but these errors were encountered: