1.

What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?$

A. floor(w-1/2)
B. ceil(w-1/2)
C. w-1/2
D. w/2
Answer» B. ceil(w-1/2)


Discussion

No Comment Found