GATEverse Practice, past papers & mock tests
GATE 2012
AlgorithmsGraph AlgorithmsmediumMCQ2 marks
Consider the directed graph with vertices S, A, B, C, D, E, T. There are multiple shortest paths between vertices S and T. Which one will be reported by Dijkstra’s shortest path algorithm? Assume that, in any iteration, the shortest path to a vertex v is updated only when a strictly shorter path to v is discovered.
Save your progress

Related Algorithms PYQs