mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2026-03-13 08:51:02 +08:00
Fix BST removal method.
This commit is contained in:
@@ -29,7 +29,7 @@ export default class BinarySearchTree {
|
||||
|
||||
/**
|
||||
* @param {*} value
|
||||
* @return {BinarySearchTreeNode}
|
||||
* @return {boolean}
|
||||
*/
|
||||
remove(value) {
|
||||
return this.root.remove(value);
|
||||
|
||||
Reference in New Issue
Block a user