卷別
資料結構及演算法
選擇國立政治大學 2025 · 考試 · 第 9 題
考科演算法
(4%) Given an undirected connected graph of vertices and edges, which of the following statement concerning spanning trees is false?
- (A)The minimum spanning tree should not include the heaviest edge in any cycle of .
- (B)The maximum spanning tree can be found by modifying Kruskal's algorithm to sort edges in descending order by weight.
- (C)Each spanning tree contains exactly edges.
- (D)Both Prim's and Kruskal's algorithms are greedy algorithms.
- (E)Heap is commonly used to implement Kruskal's Algorithm for finding minimum spanning tree efficiently.