Write an algorithm to solve single source shortest path problem. Apply the algorithm to the graph shown below

3. Write an algorithm to solve single source shortest path problem. Apply the algorithm to the graph shown below.

Answer:-

Algorithm: Dijkstra’s

Leave a Reply

Your email address will not be published. Required fields are marked *