Skip to content

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

+1-1
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)