Which algorithm will be the most efficient to find out the shortest path between two given nodes in an undirected weighted graph?

Which algorithm will be the most efficient to find out the shortest path between two given nodes in an undirected weighted graph?

  1. a) Breadth First Search
  2. b) Depth First Search
  3. c) Dijkstra's algorithm
  4. d) Floyd-Warshall algorithm

From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 36 of 47.

More from this paper