+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which operation cannot be directly performed in a d-heap?

(a) insert

(b) delete

(c) find

(d) create

My question is based upon Heap topic in portion Heap of Data Structures & Algorithms I

I had been asked this question in an interview for internship.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct answer is (c) find

Explanation: Find operation in a d-heap cannot be performed as in other heaps. This is the main weakness of d-heap.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.