search tree
(Not rated)
(Not rated)
Create a binary search tree from an array of the following names: Daniel, George, Adam, Peter, Michael, Jones, Tom, Allison, James, and Brian. Perform a preorder, inorder and postorder traversal on the binary tree and print the names in the order of the traversal. Remove Peter and Brian from the tree and perform the traversal again. What do you observe when an inorder traversal is performed on the binary tree?
11 years ago
binary search
NOT RATED
Purchase the answer to view it

- programming_assignment.zip