In the context of Dijkstra’s algorithm, after a ve...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
GPSC Prelims previous year questions

In the context of Dijkstra’s algorithm, after a vertex is labelled as "visited" or "finalized" during the execution of the algorithm, which of the following statements accurately reflects the implication of this action in terms of the vertex's shortest path characteristics?

Asked in GPSC Deputy Director (IT), Class-1 2025

  1. The vertex represents the endpoint of the longest possible path in the graph.
  2. The shortest path from the source vertex to the current vertex has been successfully determined and cannot be further improved.
  3. The vertex is part of a negative-weight cycle, and its inclusion in the path structure is invalid.
  4. All outgoing edges from the vertex have been processed, and their respective distance values have been relaxed.

Answer under review: our editors are checking this question. Try the other GPSC Prelims previous year questions questions meanwhile.

More GPSC Prelims previous year questions questions

All 77,252 GPSC Prelims previous year questions questions →