There are some time differences and all, the vital part is that bellman-ford handles negative weights on the edges in the graph, Dijkstras does not.
Besides that there is some time difference and so forth. Bellman-ford: O(V|E|) Dijkstra: O(v²) ? (give or take depending on the heap or priority queue you use.) /Liq vicky wrote: > What is the difference between Dijkstra's algorithm and Bellman-Ford's > algorithm? > > -- > > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
