Question

First: The general running time of Dijkstras Shortest Path algorithm is

Dijkstra generalrunning time

where m is the number of edges and n the number of vertices

Second: the number of expected decreasekey operations is the following

expected running time

Third: The expected running time of dijkstra with a binary Heap which allows all operations in log(n) time is

expected binary heap

But why is the running time on dense graphs linear if we consider a graph dense if dense graph

Can someone help with the O-notation and log calculations here?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top