Question DSA-HEAP-0020
HardWhich data structure supports decrease-key in O(1) amortised time, improving Dijkstra's theoretical bound to O(E + V log V)?
- A.
Hash table
- B.
AVL tree
- 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
Which data structure supports decrease-key in O(1) amortised time, improving Dijkstra's theoretical bound to O(E + V log V)?
Hash table
AVL tree
Sign up free to see the answer and a step-by-step explanation.
Fibonacci heap
Binary heap