Ask Question
20 July, 09:37

What does it mean for a heap to be complete?

+1
Answers (1)
  1. 20 July, 09:51
    0
    A complete heap is a heap in which the all the nodes are completely filled and the level of the each node are equal to each other. So, if the heap satisfied this condition then, the heap are complete.

    In the computer science, heap is the special type of tree based on the data structure. Binary heap is one of the type of heap and it become complete binary tree when, it satisfied the ordering of heap property.

    There are basically two types of heap ordering that are:

    1) MAX heap property: In the max heap ordering property each node are less than or equal to its parent node value.

    2) MIN heap property: In the min heap property each node is greater and equal to its particular parent value.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What does it mean for a heap to be complete? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers