Dijkstra's Algorithm
Shortest path finder
Dijkstra's Algorithm Start
Invented by Computer Scientist Edsger Dijkstra
in 1956 on the back of a napkin while sat having
a coffee in a Paris Cafe.
?
Designed to find the shortest path from one
node on a graph to a target node on a graph(or
all other nodes on a graph).
End
Dijkstra's Algorithm Example
Limitations of Dijkstra's Algorithm
Doesn't always find the shortest path when there are negative costs (edge
weights) between nodes.
It can be extremely inefficient when searching larger graphs as it explores the
shortest current path, regardless of whether that path is heading towards the
target.