Add Implementation of Tree Sort and Generic Type BST (#2638)

This commit is contained in:
Madhur Panwar
2021-10-20 21:08:21 +05:30
committed by GitHub
parent 3028cf58d8
commit ce53fee92f
3 changed files with 410 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class BSTRecursive {
/** main function for tests */
public static void main(String[] args) {
BSTIterative tree = new BSTIterative();
BSTRecursive tree = new BSTRecursive();
tree.add(5);
tree.add(10);
tree.add(9);