卷別
資料結構與演算法(A)
選擇國立臺灣大學 2022 · 考試 · 第 18 題
考科演算法
(5 points) When using Dijkstra's algorithm to solve the single-source shortest problem for a graph having vertices and edges, which is INCORRECT?
- (A)The search principle is breadth-first.
- (B)It is a greedy algorithm.
- (C)When using an array to implement the min-priority queue, the time complexity is .
- (D)For a dense graph where , the algorithm can run in when using the binary min-heap to implement the min-priority queue.
- (E)none of the other choices