Heap on Data Structure and Algorithms related Questions and Answers


Question :   The leaf node for a heap of height h will be at which position.
1. h
2. h-1
3. h or h-1
4. None of the mentioned
Answer :   3 - h or h-1  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter