Question DSA-HEAP-0074
HardWhat is a d-ary heap's trade-off compared with a binary heap?
- A.
No trade-off
- B.
It can't be stored in an array
- 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 a d-ary heap's trade-off compared with a binary heap?
No trade-off
It can't be stored in an array
Sign up free to see the answer and a step-by-step explanation.
Shallower tree (faster insert and decrease-key) but more comparisons per sift-down
Deeper tree