What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?
Posted: Wed Jul 13, 2022 7:42 pm
a) floor(w-1/2)
b) ceil(w-1/2)
c) w-1/2
d) w/2
b) ceil(w-1/2)
c) w-1/2
d) w/2
Accurate answers. Every time.
https://answerhappy.com/