Question DSA-HEAP-0079
HardIn Dijkstra with a binary heap and lazy deletion, why might a vertex be popped more than once?
- A.
Old entries with larger distances stay in the heap and are skipped when popped
- B.
Graphs have loops
- C.
Sign up free to see the answer and a step-by-step explanation.