In Heap, the right child of an element stored at location i can be found in location
Answers
Answered by
0
Heap
Explanation:
In Heap, the right child of an element stored at location i can be found in location
The right child of an element stored at location i can be found in the location 2*i+1 as well as the parent of an element stored at location i can be found in location floor(i/2).
Similar questions