Programming Homework Help

Marymount University Preorder a Traversal Search Functionality Java Code

 

Using your code from #6 add the following:

-Preorder traversal

-Post order traversal

-Search functionality

Search for java

//decide whether you want int n or Node n

private boolean search(int n){

//return true or false if a node contains the value n

}