a) floor(w-1/2)
b) ceil(w-1/2)
c) w-1/2
d) w/2
What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!