The maximum number of times the decrease key operation performed in Dijkstra’s algorithm will be equal to ___________

The maximum number of times the decrease key operation performed in Dijkstra’s algorithm will be equal to ___________ Correct Answer Total number of edges

If the total number of edges in all adjacency list is E, then there will be a total of E number of iterations, hence there will be a total of at most E decrease key operations.

Related Questions