File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/_DataStructures_/Trees/BinarySearchTree/find-k-nodes-from-root Expand file tree Collapse file tree 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
4242 - [ Find k<sup >th</sup > minimum in a BinarySearchTree] ( src/_DataStructures_/Trees/BinarySearchTree/find-kth-min )
4343 - [ Find Ancestors of a Node] ( src/_DataStructures_/Trees/BinarySearchTree/find-ancestors )
4444 - [ 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 )
4546 - [ Suffix Tree] ( src/_DataStructures_/SuffixTree )
4647
4748### Logical Problems
Original file line number Diff line number Diff line change @@ -29,3 +29,5 @@ function findKNodes(root, k) {
2929// myBST.add(1);
3030
3131// console.log(findKNodes(myBST.root, 2));
32+
33+ module . exports = findKNodes ;
You can’t perform that action at this time.
0 commit comments