19. Let G be a graph represented using adjacency matrix with n vertices and m cdges. What is the tightest upper bound on the running time of depth-first search (DFS) on this graph?
(A) 0(n)
(B) 0(m+n)
(C) 0(n2)
(D) 0(mn)

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#7105816
題目解析 題目要求我們找出使用鄰接矩陣...
(共 1035 字,隱藏中)
前往觀看
0
0