Back to the 2024 paper

Module 4: Graph and Tree Algorithms

20242m

Which of the following algorithms are used to find the shortest path from a source node to all other nodes in a weighted graph?

  • (i) BFS
  • (ii) Prim's Algorithm
  • (iii) Djikstra's Algorithm
  • (iv) Kruskal's Algorithm

Similar questions