In this assignment you will be adding functionality to the BinarySearchTree class that we worked on in class.
You will also be writing a driver to test the BinarySearchTree.
You will be using the TreeItem
class that we implemented in class. The class may be downloaded from
TreeItem.java
You will be using the TreeNode
class that we implemented in class. The class may be downloaded from
TreeNode.java
You will be using the TreeException
class that we implemented in class. The class may be downloaded from
TreeException.java
You will be using the TreeIterator
class that we implemented in class. The class may be downloaded from
TreeIterator.java
You will be expanding the functionality of the BinarySearchTree
class that we implemented in class. The
class may be downloaded from
BinarySearchTree.java
you will be adding the following methods to the BinarySearchTree
:
You will write the Driver.java
class which will implement the
Driver Interface.
The interface may be downloaded from
DriverInterface.java.
You will be instantiating a BinarySearchTree<Integer,String>
with
TreeItem<Integer,String>
objects.
Your tree will be expected to properly handle the following test cases:
TreeItem<Integer,String>
objects randomly generated.
Save all your randomly generated TreeItem<Integer,String>
objects in a
Vector<TreeItem<Integer,String>>
.
TreeItem<Integer,String>
objects into the
BinarySearchTree<Integer,String>
.
BinarySearchTree<Integer,String>
.
BinarySearchTree<Integer,String>
.
Please make sure that all your java classes are in the default package.
Please submit the completed programming assignment on the
Mimir Platform Website
.
You must submit your Java programs as a zip file of only the classes specified above.