The conversation between human and AI assistant.
Why is the Dijkstra's algorithm used in computer networking?
Does the algorithm have any limitations?
One limitation of Dijkstra's algorithm is that it cannot handle negative edge weights, meaning it cannot be used in situations where some paths have a negative cost or weight. Additionally, it may not always give the most optimal solution in situations where there are multiple paths with equal cost.