8. Consider a tree with A as the root node. The left and right child of A are B and C, respectively. The left and right child of B are D and E, respectively. The left and right child of E are F and G. What is the order of the nodes processed in the pre-order traversal?
(A) A-B-E-D-F-G-C;
(B) D-B-F-E-A-G-C;
(C) A-B-D-G-F-E-C;
(D) A-B-D-E-F-G-C.

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

詳解 (共 1 筆)

#6840841
1. 題目解析 此題目要求我們對一棵樹進...
(共 813 字,隱藏中)
前往觀看
0
0