Question: Using the array-list implementation for directed graphs, create the class Graph and utilize Dijkstra shortest path algorithm that finds shortest paths from the source vertex
Using the array-list implementation for directed graphs, create the class Graph and utilize Dijkstra shortest path algorithm that finds shortest paths from the source vertex to the destination vertex output must give desired results using the specified data structures and algorithms.

Suggested Classes:
Main: to insert the data to be run and to print results
Node: to define the Node object
Edge: to define the edge object
Graph: to do array-based implementation of graph data structure and solving our shortest path problem with Dijkstra algorithm
also provide a puesdocode and a UML Diagram
Number of nodes =8 Number of edges =14 shortest distance from node to node is shortest distance from node 0 to node 1 is 3 shortest distance from node 0 to node 2 is 1 shortest distance from node 0 to node 3 is 4 shortest distance from node 0 to node 4 is 2 shortest distance from node 0 to node 5 is 4 shortest distance from node 0 to node 6 is 8 shortest distance from node 0 to node 7 is 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
