Fix issue #98.

This commit is contained in:
Oleksii Trekhleb
2018-07-13 17:48:27 +03:00
parent fafa52c26e
commit 863dbdbac3
2 changed files with 12 additions and 0 deletions

View File

@@ -132,6 +132,9 @@ export default class BinarySearchTreeNode extends BinaryTreeNode {
}
}
// Clear the parent of removed node.
nodeToRemove.parent = null;
return true;
}