Question: Extend BSTreeMap with another class called RBTreeMap. The red - black tree is a balanced binary search tree. It is comprised of RBNodes. The RBTreeMap
Extend BSTreeMap with another class called RBTreeMap. The redblack tree is a balanced binary search tree. It is comprised of RBNodes. The RBTreeMap and RBNode classes are shown in the attachment.
Use the files provided to get started RBTreeMapjava, RBNode.java Test your work with JUnit test cases. It is up to you to test your work thoroughly.
A fully working remove method is important. It must at least pass testRemove supplied in the JUnit file.
Create a zip file with just RBTreeMap.java inside, not any other files. Of course, that means that you cannot change anything in those other classes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
