Question: In this next assignment, you will extend your BSTreeMap with another class called RBTreeMap. The red - black tree is a balanced binary search tree.

In this next assignment, you will extend your BSTreeMap with another class called RBTreeMap. The red-black tree is a balanced binary search tree. It is comprised of RBNodes. The RBTreeMap and RBNode classes are provided for you.
Use the three files provided in the screenshot to get started (RBTreeMap.java, RBNode.java, RBTreeMapTestCases.java). Partially test your work with the included JUnit test cases. These tests are by no means comprehensive. It is up to you to test your work thoroughly.
A fully working remove method is necessary. It must at least pass testRemove01() supplied in the JUnit file. We will use additional test cases to verify the correctness of your solution for the remaining 5 points.
Create a zip file with just RBTreeMap.java inside, name it RBTreeMap.zip.. Do not submit your other files. This means that you cannot change anything in those other classes
 In this next assignment, you will extend your BSTreeMap with another

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!