Chapter 19 Questions
True or False
1. The efficiency of using a binary search tree to implement an ADT dictionary suffers when the
tree loses its balance.
2. Numerous additions to and removals from a binary search tree will invariably destroy its balance.
3. You can search an AVL tree almost as efficiently as a minimum height binary search tree.
4. An AVL tree implementation of a dictionary is of equal difficulty to other implementations.
5. It can be proven that the height of an AVL tree with n nodes will always be very close to the
theoretical minimum of log2(n + 1).
6. A 2-3 is pretty much the same as a binary tree.
7. A 2-3 tree is never taller than a minimum-height binary tree.
8. The leaf of a 2-3 tree must contain exactly 2 data items.
9. Searching a 2-3 tree is efficient.
10. Searching a 2-3 tree is more efficient than searching a binary search tree.
11. According to the text, maintaining the shape of a 2-3 tree is relatively easy.
12. A 2-3-4 tree requires the same amount of storage as a 2-3 tree.
13. The algorithms for adding data to and removing data from a 2-3-4 tree require fewer steps than
those for a 2-3 tree.
14. Every red node of a red-black tree has a black parent and a red child.
15. Every path from the root to a leaf in a red-black tree contains the same number of black nodes