D-ary Heap Multiple choice Questions and Answers (MCQs)
d-heap is similar to that of a?
Question 1 Explanation:
A d-heap is similar to that of a binary heap except that binary heaps have two children and d-heaps have d children.
d-heap is shallower than a binary heap.
Question 2 Explanation:
d-heap is much shallower than a binary heap with respect to performance efficiency of insert and delete operations.
Which operation cannot be directly performed in a d-heap?
Question 3 Explanation:
Find operation in a d-heap cannot be performed as in other heaps. This is the main weakness of d-heap.
Which operation is not efficiently performed in a d-heap?
Question 4 Explanation:
Unlike find operation, which cannot be performed in a d-heap, the task of merging two d-heaps is very difficult.
What is the run time efficiency of an insertion algorithm in d-heap?
Question 5 Explanation:
The run time efficiency of an insertion algorithm in a d-heap is found to be O(logd N) where d is the number of children.
There are 5 questions to complete.