Which of the following algorithms is used to find the shortest path between two nodes in a graph with negative edge weights? a) Dijkstra's algorithm b) Bellman-Ford algorithm c) Kruskal's algorithm d) Prim's algorithm
Which of the following algorithms is used to find the shortest path between two nodes in a graph with negative edge weights? a) Dijkstra's algorithm b) Bellman-Ford algorithm c) Kruskal's algorithm d) Prim's algorithm
Share