Skip to content
RED SAGSkills
medium10 pts · first answer countsgraphsshortest-pathdijkstra

Old entries left in Dijkstra’s heap

Your heap has no decrease-key, so when a distance improves you push a new (dist, node) pair. What must you do when you pop a pair?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions