Hi everyone,
I have an assignment :Implement a binary search tree class. Include preOrder, inOrder, postOrder traversals, as well as methods to perform insert and search.
And I did it in the folloiwng but there some problems that I encounter.When I execute the following code, there is an exception occurs. It says that my left BinaryTree is null. So why ???
Implement a binary search tree class. Include preOrder, inOrder, postOrder traversals, as well as methods to perform insert and search