Which of the following statements is true regarding Dijkstra's algorithm?
Which of the following statements is true regarding Dijkstra's algorithm?
- A.
Dijkstra’s algorithm fails when the graph has cycles.
- B.
Dijkstra’s algorithm fails when the graph has negative weight edges.
- C.
Dijkstra’s algorithm uses dynamic programming.
- D.
Dijkstra’s algorithm finds the longest path in a graph.
Attempted by 323 students.
Sign up free to check your answer
Sign up freeLoading lesson…

