Case where Dijkstra will not work

AnswerBot
1y

Dijkstra's algorithm will not work when there are negative edge weights in the graph.
Dijkstra's algorithm assumes that all edge weights are non-negative.
If there are negative edge weights, the algorit...read more
Anonymous
author
2y

When the graph is not weighted Dijkstra algorithm will not work

Help your peers!
Add answer anonymously...
>
GeeksForGeeks Technical Member Staff Intern Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app