+1 vote
in Data Structures & Algorithms I by (88.2k points)
Multiplication and division to find children and parents cannot be implemented in a d-heap.

(a) true

(b) false

The question is from Heap in section Heap of Data Structures & Algorithms I

The question was asked during an interview.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct answer is (b) false

Easy explanation - Multiplication and division for finding children and parents can be implemented in a d-heap but d should be a power of 2.

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.