< Back

Activity 33

Dijkstra's Algorithm

For the following graph, write out the adjacency matrix and perform ALL steps of dijkstra's algorithm to find the shortest path from 0 to 5.

after a new vertex is added to the visited list, write out the structure of the cost list and the predecessor list.