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

Sign in to save attempts.
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.