Dijkstra-Algorithm-Implementation Dijkstra's algorithm is used for finding the shortest paths between nodes in a graph Usage int V = 9; // number of vertices/nodes in graph Graph g(V); // initialize the graph g.dijkstra(); // find the shortest path