单选题:After inserting { 3, 4, 5, 6, 1, 2, 7 } into an initially empty
After inserting { 3, 4, 5, 6, 1, 2, 7 } into an initially empty red-black tree, which of following is **False**?
@[D](1)
A. The resulting tree is a full tree.
B. 4 is the root with the black height as 2.
C. 3 is the right child of 2, and the color of 3 is red.
D. 5 is the left child of 6, and the color of 5 is black.
A.The resulting tree is a full tree.
B.4 is the root with the black height as 2.
C.3 is the right child of 2, and the color of 3 is red.
D.5 is the left child of 6, and the color of 5 is black.
答案:D
@[D](1)
A. The resulting tree is a full tree.
B. 4 is the root with the black height as 2.
C. 3 is the right child of 2, and the color of 3 is red.
D. 5 is the left child of 6, and the color of 5 is black.
A.The resulting tree is a full tree.
B.4 is the root with the black height as 2.
C.3 is the right child of 2, and the color of 3 is red.
D.5 is the left child of 6, and the color of 5 is black.
答案:D