How many edges of this binary tree violate the min-heap property? In other words, for how many edges of the tree, the parent value is greater than the value of the child?
Answers
Answered by
0
ANSWER IS The edges of the tree will be 4. The min heap is a total binary tree such that the value in each node is lower than the child node.
Similar questions