Skip to content
- Home
- Engineering
- Computer Engineering
- Which of the following finds the shortest paths from a…
Which of the following finds the shortest paths from a source in a graph with non-negative weights?
-
A
A complete binary tree of height h
-
B
An in-order traversal of a binary search tree
-
C
A heap
-
D
Dijkstra's algorithm
Correct answer
Correct answer
D. Dijkstra's algorithm
Explanation
The answer is Dijkstra's algorithm.
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ
Need help? Find an MCQ, a short question, a test or your certificate. Just ask.