BinaryTree.cpp
In this part of the assignment, we have provided a file called BinaryTree.cpp that contains a basic implementation of a binary tree. Function headers (with usage details) are included in BinaryTree.h, and you need to fill in the balanceFactors() function of the BinaryTree class. You may define your own helper functions in BinaryTree.h and implement them in BinaryTree.cpp, but they must be private. Do NOT change any of the methods that we provided!
BinaryTree.h
balanceFactors()
BinaryTree
private
We will not be checking for memory leaks, as we will be creating the dynamic objects, not you. We have provided a tester program, BinaryTreeTest, that will help you test your BinaryTree class.
BinaryTreeTest
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here