1,972 views
7 votes
7 votes
I know that Dijkstra's Doesn't work for Negative weight cycle because it form a loop, Does it also true that it may or may not work for negative weight edge(without cycle) ?

If it is not working for a negative weight edge(without cycle) give some example to prove it.

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
2
Souvik33 asked Dec 19, 2022
708 views
If a -ve weight cycle is reachable from source, the Dijkstra's algorithm gets into an infinite loop TRUEFALSE
6 votes
6 votes
1 answer
3
vaishali jhalani asked Nov 5, 2016
3,040 views
What is the time complexity of Dijkstra’s algorithm if it is implemented using AVL Tree instead of Priority Queue over a graph G = (V, E)?
1 votes
1 votes
1 answer
4
vaishali jhalani asked Nov 4, 2016
1,077 views
When the graph contain negetive weight edges but no negetive weight cycle, in this case can dijkstra leads to incorrect result?