Dijkstra's algorithm is used to find the shortest path from a _______ vertex to all other vertices in a weighted graph with _______ edge weights.

  • Destination, Fixed
  • Initial, Varying
  • Source, Uniform
  • Starting, Variable
Dijkstra's algorithm is used to find the shortest path from a source vertex to all other vertices in a weighted graph with uniform edge weights. It employs a greedy strategy, always selecting the vertex with the smallest known distance.
Add your answer
Loading...

Leave a comment

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