Question:medium

For the Dijkstra's algorithm applying on a graph, which of the following condition is required?

Show Hint

Remember: Dijkstra = No Negatives. If you see a negative sign on an edge, put away Dijkstra's and pick up Bellman-Ford!
Updated On: Jun 6, 2026
  • Graph must be directed acyclic
  • Graph must not have negative edge weights
  • All edges must have equal weight
  • Graph must be complete
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0

Top Questions on Algorithm


Questions Asked in CUET (PG) exam