File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
data_structures/non_linear/trees/binary_trees Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Node<num> {
1515class BinarySearchTree {
1616 Node <num >? _root;
1717
18- /// Pseudocode (Iteratively or Recursively):
18+ /// Pseudocode (Recursively):
1919 /// - Create a new node.
2020 /// - Check if there is a root, if not - the root now becomes that new node.
2121 /// - If there is a root, check if the value of the new node is greater than or less than the value of the root.
@@ -54,7 +54,7 @@ class BinarySearchTree {
5454 return null ;
5555 }
5656
57- /// Pseudocode (Iteratively or Recursively):
57+ /// Pseudocode (Recursively):
5858 /// - Starting at the root.
5959 /// - Check if there is a root, if not - we're done searching.
6060 /// - If there is a root, check if the value of the new node is the value we are looking for:
You can’t perform that action at this time.
0 commit comments