1. Home
  2. Engineering
  3. Computer Engineering
  4. Which of the following finds the shortest paths from a…

Added 28 Nov 2026

Which of the following finds the shortest paths from a source in a graph with non-negative weights?

  1. A complete binary tree of height h
  2. An in-order traversal of a binary search tree
  3. A heap
  4. Dijkstra's algorithm Correct answer

Correct answer

D. Dijkstra's algorithm

MCQSEXAM

Explanation

The answer is Dijkstra's algorithm.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Data_structure

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs