β
Correct Answer: (A)
1
Explanation: insert and extract min operations are invoked only once per vertex because each vertex is added only once to the set and each edge in the adjacency list is examined only once during the course of algorithm.
Explanation by: Mr. Dubey
insert and extract min operations are invoked only once per vertex because each vertex is added only once to the set and each edge in the adjacency list is examined only once during the course of algorithm.
Discussion
Question Analytics
729
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
94%
Success Rate