Skip to content

Commit 34593cb

Browse files
committed
cleanup
1 parent 312e43a commit 34593cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/_DataStructures_/Trees/BST/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ class BinarySearchTree {
1414
}
1515

1616
if (value < root.value) {
17-
// go left
1817
// eslint-disable-next-line no-param-reassign
1918
root.leftChild = this.insert(root.leftChild, value);
2019
return root;
2120
}
2221
if (value > root.value) {
23-
// go right
2422
// eslint-disable-next-line no-param-reassign
2523
root.rightChild = this.insert(root.rightChild, value);
2624
return root;

0 commit comments

Comments
 (0)