阿摩線上測驗 登入

試題詳解

試卷:109年 - 108 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#124087 | 科目:中山◆電機◆電磁學

試卷資訊

試卷名稱:109年 - 108 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#124087

年份:109年

科目:中山◆電機◆電磁學

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