Question: For a max heap at two different layers, k and k + 1 ( smaller values are closer to root ) , it is possible
For a max heap at two different layers, k and ksmaller values are closer to root it is possible that the number on the layer k is smaller than on k if the nodes on k is not the the child of the node on k
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
