To handle negative edge weights, one might consider using _______ to modify Dijkstra's algorithm.

  • AVL Trees
  • Bellman-Ford Algorithm
  • Depth-First Search
  • Merge Sort
To handle negative edge weights, one might consider using the Bellman-Ford Algorithm to modify Dijkstra's algorithm. The Bellman-Ford Algorithm can handle graphs with negative weight edges, unlike Dijkstra's algorithm, making it suitable for such scenarios.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *