a) 2i+1
b) 2i+2
c) 2i
d) 4i
If binary trees are represented in arrays, what formula can be used to locate a left child, if the node has an index i?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
If binary trees are represented in arrays, what formula can be used to locate a left child, if the node has an index i?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!