Skip to content

Commit e6ef659

Browse files
committed
remove duplicated tree class
1 parent 9f1c6e7 commit e6ef659

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

binary-trees/find-kth-largest-value-in-bst.js

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// This is an input class. Do not edit.
21
class BST {
32
constructor(value) {
43
this.value = value;
@@ -22,15 +21,9 @@ function findKthHelper(tree, array) {
2221
return array;
2322
}
2423

24+
////////////////////////////
2525
// solution 2
26-
// This is an input class. Do not edit.
27-
class BST {
28-
constructor(value) {
29-
this.value = value;
30-
this.left = null;
31-
this.right = null;
32-
}
33-
}
26+
///////////////////////////
3427

3528
class TreeInfo {
3629
constructor(numberOfNodesVisited, latestVisitedValue) {

0 commit comments

Comments
 (0)