複選題
41. Consider an AVL tree that results from successively inserting keys 2, 4, 5, 3, 8, 7, 1, 6, 9 into an initially empty tree. Which of the following statements are true?
(A) The tree height is 4.
(B) Key 3 and key 5 have the same depth.
(C) Key 2 and key 8 have the same height.
(D) Key 6 is a leaf.
(E) Key 7 is the parent ofkey 9.

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#7105792
1. 題目解析 這道題目要求我們分析一...
(共 823 字,隱藏中)
前往觀看
0
0