Functional-Points

November 21, 2023

Question 9936 – Algorithms

November 21, 2023

Functional-Points

November 21, 2023

Question 9936 – Algorithms

November 21, 2023

Algorithms

Question 33

Let G be the directed, weighted graph shown in below figure.

We are interested in the shortest paths from A.
(a) Output the sequence of vertices identified by the Dijkstra’s algorithm for single source shortest path when the algorithm is started at node A.
(b) Write down sequence of vertices in the shortest path from A to E.
(c) What is the cost of the shortest path from A to E?

A
Theory Explanation.
Correct Answer: A

Leave a Reply

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