2023 Concepts tested by this program Generic Classes Comparators New concepts tested by this program Linked Trees Binary | Assignment Collections
Computer Science 2023 Assignment 5 Solution Java
2023 Concepts tested by this program Generic Classes Comparators New concepts tested by this program Linked Trees Binary | Assignment Collections
Concepts tested by this program:
Generic Classes
Comparators
New concepts tested by this program
Linked Trees
Binary Search Trees
Your assignment is to write a generic linked list tree and a generic linked list binary search tree class that inherits from your generic linked tree class. There is no GUI required for this assignment. Your classes will be tested with Junit tests.
TreeNodeclass
This generic class is used in the BasicLinkedTree and BSTree classes. The class consists of a reference to the data and a reference to the left and right child.Follow the Javadoc that is provided. The Javadoc only lists those public methods that are required to pass the Junit tests. You may add any private methods you need for your design.
BasicLinkedTreeclass
This generic linked list tree relies on a root (reference to root of the tree). The root is set to null when the list is empty. The class uses an external generic TreeNode class which consists of a reference to the data and a reference to the left and right child. The private members consist of a root (reference to a TreeNode) and the size (number of Nodes in the tree) Follow the Javadoc that is provided. The Javadoc only lists those public methods that are required to pass the Junit tests. You may add any private methods you need for your design.
BSTreeclass
A generic linked binary search tree which inherits from the BasicLinkedTree class anduses a provided Comparator. The class uses an external generic TreeNode class. There is only one additional private member, a comparator to determine the order of the nodes. This class uses the private members of root and size which are defined in the BasicLinked List. Follow the Javadoc that is provided.The Javadoc only lists those public methods that are required to pass the Junit tests. You may add any private methods you need for your design.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.