1 Add the methods height and leaves to the BinaryTree ADT. The height method returns the number of levels in the tree. The leaves method returns a list of the leaves in the tree.
2 Complete and test the node classes for the expression tree developed in this chapter.
3 Add and test the ^ operator for exponentiation to the expression tree developed in this chapter.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here