Skip to content

Commit d7718ec

Browse files
committed
minor refactor
1 parent 9082389 commit d7718ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/non_linear/trees/binary_trees/binary_search_tree.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Node<num> {
1515
class 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:

0 commit comments

Comments
 (0)