![]() | ||
| Binary Search Trees 2. Discuss the similarities and differences of the BinarySearchTree class’s contains method and the binarySearch methods in the Arrays and Collections classes. 3. Explain why the BinarySearchTree class’s remove method and the TreeIterator class’s next method are somewhat difficult to define. 4. Be able to perform each of the four possible rotations. 5. Understand why the height of an AVL tree is always logarithmic in n. | ||