阿摩線上測驗 登入

試題詳解

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

試卷資訊

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

年份:107年

科目:中山◆電機◆資料結構

16. Consider the graph in Figure 1(b). Starting with node S, what is the order of the nodes processed by the depth-first search? If two or more nodes can be chosen, choose the node with the smallest label first.
(A) S-C-A-P-B-M-H-D-R;
(B) S-M-H-C-A-P-B-D-R;
(C)S-C- A-M-H-P-B-D-R;
(D) S-C-R-A-M-H-P-B-D.
正確答案:登入後查看