Skip to content

Commit 58fcf51

Browse files
committed
Updated
1 parent 47c515c commit 58fcf51

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

assets/InOrderTraversalBinaryTree.jpg

29.8 KB
Loading

binary_search_trees.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ Binary Search Tree
33

44
NOTES:
55
- BST property is such that a node's left subtree value is always at most its value
6-
Node x, left(x) =< x. Also right(x) > x
6+
- Node x, left(x) =< x. Also right(x) > x
77

88
Implementations:
99

10+
11+
1012
```
1113
class Node<V> {
1214
Node parent;
@@ -23,9 +25,8 @@ class Node<V> {
2325
```
2426

2527
[INORDER TREE WALK]
26-
NOTE:
27-
In order tree traversal. Prints sorted tree nodes using the BST property
2828

29+
![alt text](assets/InOrderTraversalBinaryTree.jpg "Inorder traversal")
2930
```
3031
void inorder(Node node) {
3132
if (node != null) {

0 commit comments

Comments
 (0)