File tree 2 files changed +3
-0
lines changed
src/_DataStructures_/Trees/BinarySearchTree/find-k-nodes-from-root
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Collection of interview questions with Unit Tests. Problems includes Data Struct
42
42
- [ Find k<sup >th</sup > minimum in a BinarySearchTree] ( src/_DataStructures_/Trees/BinarySearchTree/find-kth-min )
43
43
- [ Find Ancestors of a Node] ( src/_DataStructures_/Trees/BinarySearchTree/find-ancestors )
44
44
- [ Find Height of BST] ( src/_DataStructures_/Trees/BinarySearchTree/height-of-bst )
45
+ - [ Find k Nodes from Root of BST] ( src/_DataStructures_/Trees/BinarySearchTree/find-k-nodes-from-root )
45
46
- [ Suffix Tree] ( src/_DataStructures_/SuffixTree )
46
47
47
48
### Logical Problems
Original file line number Diff line number Diff line change @@ -29,3 +29,5 @@ function findKNodes(root, k) {
29
29
// myBST.add(1);
30
30
31
31
// console.log(findKNodes(myBST.root, 2));
32
+
33
+ module . exports = findKNodes ;
You can’t perform that action at this time.
0 commit comments