25. Consider a graph as follows. Starting from node D, what is the visiting sequence of all nodes by
問題詳情
25. Consider a graph as follows. Starting from node D, what is the visiting sequence of all nodes byusing depth-first-search. If you have multiple choices, just follow the alphabetical order.
(A) D, B, A, C, E, F, G, H, I (B) D, F, G, I, H, E, B, C, A (C) D, F, G, I, H, E, C, A, B (D) D, B, A, C, E, H, I, G, F (E) D, F, G, I, H, E, C, B, A