home Dijkstra
Dijkstra
Dijkstra's shortest path algorithm has a time complexity of O(|E| + |V|2) = O(|V|2) when using arrays or lists and |E| is the amount of edges and |V| is the amount of vertices.