Is it a binary heapSolutionAnswer Yes the given heap is Bina

Is it a binary heap?

Solution

Answer) Yes, the given heap is Binary Heap.

A Minimum binary heap is a complete binary tree such that Data in every node is less than or equal to the data in each of it\'s child node.

These Binary heaps can contains the same data but data may appear in different positions in the heap.

In the given example the binary heap contains same data from Parent node is equals to the data in each of it\'s Child nodes.so the given Heap is Binary Heap.

Is it a binary heap?SolutionAnswer) Yes, the given heap is Binary Heap. A Minimum binary heap is a complete binary tree such that Data in every node is less tha

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site