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

Browse files
committed
cleanup
1 parent 22787dd commit 312e43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class BinarySearchTree {
3232
/** returning an array so as to make testing easy */
3333
let arr = [];
3434
if (root === null) return [];
35-
// eslint-disable-next-line no-console
3635
arr.push(root.value);
3736

3837
const left = this.preorder(root.leftChild);
3938
arr = [...arr, ...left];
39+
4040
const right = this.preorder(root.rightChild);
4141
arr = [...arr, ...right];
4242
return arr;

0 commit comments

Comments
(0)

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