题目内容

9. Assuming that graph G has n vertices and e edges and adopts adjacency table storage, the time complexity of the topological sorting algorithm is ().

A. O(n+e)
B. O(n)
C. O(e)
D. O(n*e)

查看答案
更多问题

10. The following incorrect statement is ().

A. If any key activity is completed ahead of time, the whole project will be completed ahead of time
B. Key activities not completed on time will affect the completion time of the whole project
C. All key activities are completed in advance, then the entire project is completed in advance
D. Early completion of certain key activities will lead to early completion of the entire project

17. The connected component is the maximal connected subgraph of ().

A. Undirected graph
B. Tree
C. Graph
Directed graph

18. The minimal spanning tree can be constructed using the () algorithm.

A. Prim algorithm
B. Kruskal algorithm
C. Huffman algorithm
Dijitstra algorithm

19. In a graph with n vertex e-edges, the sum of degrees of all vertices is equal to ().

A. 2n
B. n
C. e
D. 2e

答案查题题库