Examveda

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: Option A


This Question Belongs to Data Structure >> Binary Search Trees(B Tree)

Join The Discussion

Related Questions on Binary Search Trees(B Tree)