Chapter 43 RedBlack Trees
1. Which of the following statements are correct?
a. A redblack tree is a binary search tree.
b. All leaf nodes are colored black in a redblack tree.
c. All leaf nodes are colored red in a redblack tree.
d. All external nodes are leaf nodes.
e. All leaf nodes are external nodes.
#
2. Which of the following statements are correct?
a. The black depth of a node is defined as the number of black nodes in a path from the node to the root.
b. The root is black.
c. Two adjacent nodes cannot be both red.
d. All external nodes have the same black depth.