Dijkstra and Shortest Path Algorithms - Competitive Exam Level

Download Q&A
Q. If a graph has 5 vertices and 7 edges, what is the maximum number of edges in a complete graph with 5 vertices?
  • A. 10
  • B. 12
  • C. 15
  • D. 20
Q. Which algorithm can be used as an alternative to Dijkstra's algorithm for graphs with negative weights?
  • A. Prim's algorithm
  • B. Kruskal's algorithm
  • C. Bellman-Ford algorithm
  • D. A* algorithm
Showing 1 to 2 of 2 (1 Pages)
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely