Graph Theory37 sections · 1633 units
Open in Course

Quiz: Dijkstra Optimization

Knowledge check

Check Your Understanding

In Dijkstra, you pop node vv with distance dd from the queue. You've already processed vv with distance d<dd' < d. What should you do?

  1. A.Skip this entry (continue to next)
  2. B.Update the distance to (d+d)/2(d + d')/2
  3. C.Process vv again with the new distance
  4. D.Restart Dijkstra from vv
Start the roadmap to answer the quizzes and solve the challenges