1. Home
  2. Computer Science MCQs
  3. Algorithms and Data Structures
  4. Which algorithm efficiently finds the shortest path in a…

Added 12 Sep 2025

Which algorithm efficiently finds the shortest path in a graph with non-negative weights?

  1. Dijkstra's Algorithm Correct answer
  2. Bellman-Ford Algorithm
  3. Floyd-Warshall Algorithm
  4. A* Search Algorithm

Correct answer

A. Dijkstra's Algorithm

19 views

MCQSEXAM

Explanation

Dijkstra's Algorithm finds the shortest path in graphs with non-negative weights.

Reference

Asked in: GATE CS, UGC NET CS

https://www.geeksforgeeks.org/dijkstras-shortest-path-algorithm-greedy-algo-7/

Preparing for an exam?

Doubts & discussion

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

Ask a doubt about this MCQ

Shown after review. No links please.

More Algorithms and Data Structures MCQs

Practise all Algorithms and Data Structures MCQs

Similar MCQs