Skip to content

Commit ed85588

Browse files
authored
Updated README
Added details about printPreorder, printInorder, printPostorder methods
1 parent 0758227 commit ed85588

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

BST/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ In this implementation, each node of the Binary Search Tree stores a key and val
4949
Time Complexity: Linear in the height of the BST
5050
</p>
5151
</li>
52+
<li>
53+
<h5><code>void printPreorder ()</code></h5>
54+
<p align="justify">
55+
Prints the PreOrder traversal of the BST
56+
</p>
57+
</li>
58+
<li>
59+
<h5><code>void printInorder ()</code></h5>
60+
<p align="justify">
61+
Prints the InOrder traversal of the BST
62+
</p>
63+
</li>
64+
<li>
65+
<h5><code>void printPostorder ()</code></h5>
66+
<p align="justify">
67+
Prints the PostOrder traversal of the BST
68+
</p>
69+
</li>
5270
</ul>
5371

5472
<h2>To Do</h2>

0 commit comments

Comments
 (0)