What is Dijkstra’s algorithm?
Dijkstra’s algorithm finds the shortest path between two nodes in an undirected algorithm.
How is the working for Dijkstra’s algorithm shown?
The working is shown in boxes drawn at each node which will contain the following information:
Top left box - Order of permanent labelling
Top right box - Permanent label (shortest distance)
Bottom box - Temporary labels (working values)
How do you carry out Dijkstra’s algorithm?
What complexity does Dijkstra’s algorithm have?
Dijkstra’s algorithm has complexity O(n^2), where n is the number of nodes.