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 筆)
未解鎖
題目解析 題目要求我們找出使用鄰接矩陣...