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 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

Lines changed: 0 additions & 2 deletions
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)

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