1. Add an optional argument to the __init__ method of BST. This argument is another collection. Its default value is None. If the argument is not None, add the data from the argument to the new tree
2. 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here