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

答案:登入後查看
統計: A(2), B(0), C(0), D(0), E(0) #2752358

詳解 (共 1 筆)

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