試卷名稱: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?
(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