Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2012
Questions

Q40

MCQ2 marks, −0.67AlgorithmsMedium

Consider the directed graph shown in the figure below. There are multiple shortest paths between vertices SS and TT. Which one will be reported by Dijkstra's shortest path algorithm? Assume that, in any iteration, the shortest path to a vertex vv is updated only when a strictly shorter path to vv is discovered.

Figure 1

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.