Multiple choice

What is the mean of shape property of a heap data structure?

  1. It means that the node, which is the smallest of all its children, is called min heap.

  2. It means that the node, which is the largest of all its children, is called max heap.

  3. It means that the heap is a completely or nearly complete binary tree.

  4. Both (2) and (3)

  5. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is called Shape property of a heap.