Shortest path from S to all vertices is found

Shortest path from S to all vertices is found

Shortest path from S to all vertices is found