Question 24
24. Which of the following algorithms solves the single-source shortest paths ?
Answer : (4) Dijkstra’s algorithm Previous | Next |
UGC NET CS 2018 July - II Question 23 | UGC NET CS 2018 July - II Question 25 |
Previous | Next |
UGC NET CS 2018 July - II Question 23 | UGC NET CS 2018 July - II Question 25 |
Question 16 In a certain coding language. 'AEIOU' is written as 'TNHDZ'. Using the same coding language. 'BFJPV' wil...
The Floyd Warshall Algorithm is for solving the All Pairs Shortest Path problem. The problem is to find shortest distances between every pair of vertices in a given edge weighted directed Graph.
Dijkstra’s Algorithm allows you to calculate the shortest path between one node of your choosing and every other node in a graph. Dijkstra’s algorithm solves the single-source shortest paths.
So, Option (4) is correct answer.