阿摩線上測驗 登入

試題詳解

試卷:110年 - 110學士後_醫學系︰計算機概論與程式設計#100246 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:110年 - 110學士後_醫學系︰計算機概論與程式設計#100246

年份:110年

科目:研究所、轉學考(插大)、學士後-計算機概論

18. Perform a DFS (Depth-First Search) traversal of this graph by starting at node 1 and going in the order of numbers in Arabic when picking which neighbor to visit first. Which of the following is the CORRECT traversal order?
  6111d4182d17a.jpg
(A) 1, 2, 6, 4, 5, 3, 7
(B) 1, 2, 4, 6, 5, 3, 7
(C) 1, 2, 4, 5, 6, 3, 7
(D) 1, 2, 4, 3, 7, 5, 6
(E) 1, 2, 4, 5, 3, 7, 6

正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#5000004
未解鎖
題目給定兩個條件:Depth-First...
(共 389 字,隱藏中)
前往觀看
1
0