Create a binary tree class.
-Data array field (private)
-Count field
Add method(data)
-The add method takes a data point, add it to the count position in the array then increases the count.
Print method(void)
-Prints all the fields in the tree
Extend the array based tree lab now by adding
Preorder(int)
-Recursive method that prints all the nodes in a VLR pattern.
Inorder(int)
-Recursive method that prints all the nodes in a LVR pattern.
Postorder(int)
-Recursive method that prints all the nodes in a LRV pattern
Hi there,
I'm really interested in doing this project. Would you please initiate a chat for further discussion? So really hope to have chance to work with you, thanks for your consideration!
Regards.
Hello, this sounds like a project that could have a very fast turn-around time. If you'd like to talk about the project in more detail feel free to send me a message any time.