複選題

18. Consider the integers 30, 41, 25, 29, 94, 37, 70, 23, 65, 75, 68, 67 in order to create a binary search tree. Now delete 70 from the tree. Note that the replacement should be the least of the numbers equal to or greater than the deleted element. Which of the following about the resulting tree are true?
(A) The node for 75 has only one child.
(B) The node for 65 has a left child.
(C) The node for 41 has two children.
(D) The node for 65 is a child of the node for 94.

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

詳解 (共 1 筆)

#6840831
好的,讓我們來詳細解析這道考題。 1. ...
(共 1065 字,隱藏中)
前往觀看
0
0