Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b7ec098

Browse files
committed
--fix : BST remove function
1 parent 601fd9f commit b7ec098

File tree

1 file changed

+1
-1
lines changed
  • src/_DataStructures_/Trees/BinarySearchTree

1 file changed

+1
-1
lines changed

‎src/_DataStructures_/Trees/BinarySearchTree/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class BinarySearchTree {
169169
}
170170

171171
remove(value) {
172-
return this.delete(this.root, value);
172+
this.root= this.delete(this.root, value);
173173
}
174174
}
175175

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /