Dijkstra and Shortest Path Algorithms - Problem Set

Download Q&A
Q. If a graph has 5 vertices and 7 edges, what is the maximum number of edges in a simple undirected graph?
  • A. 10
  • B. 12
  • C. 15
  • D. 20
Q. What is the main disadvantage of Dijkstra's algorithm?
  • A. It is not optimal
  • B. It requires a lot of memory
  • C. It cannot handle negative weights
  • D. It is too slow for large graphs
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