Vidyalelo
Data Structure · Q4

Graph Algorithms (DFS, BFS, Dijkstras, etc)

Programming · Data Structure · question 4

Q4

Which algorithm can be used to detect negative weight cycles in a graph?

A.
Dijkstra's Algorithm
B.
Prim's Algorithm
C.
Bellman-Ford Algorithm
Answer
D.
Kruskal's Algorithm

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board