Question DSA-HEAP-0069
HardWhat is the advantage of a Fibonacci heap for Dijkstra's algorithm?
- A.
Faster extract-min than O(log n)
- B.
Smaller memory
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Heaps and Priority Queues question
What is the advantage of a Fibonacci heap for Dijkstra's algorithm?
Faster extract-min than O(log n)
Smaller memory
Sign up free to see the answer and a step-by-step explanation.
It needs no pointers
Decrease-key in O(1) amortised, giving O(E + V log V)