InterviewSolution
Saved Bookmarks
| 1. |
The ascending heap property is ___________(a) A[Parent(i)] =A[i](b) A[Parent(i)] = A[i](d) A[Parent(i)] > 2 * A[i]My doubt is from Heap in portion Heap of Data Structures & Algorithms II have been asked this question in unit test. |
|
Answer» Right answer is (b) A[PARENT(i)] <= A[i] |
|