(Parent reference for Tree24) Redefine Tree24Node to add a reference to a node’s parent, as shown below:
Add the following two new methods in Tree24:
Returns the parent for the specified node.
Returns the path from the specified node to the root in an
array list.
Write a test program that adds numbers 1, 2, ..., 100 to the tree and displays the
paths for all leaf nodes.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here