Question:Consider the node of a complete binary tree whose value is stored in data[i] for an array implementation. If this node has a right child, where will the right child's value be stored (the array's first index is 0)? 

A data[i+1] 

B data[i+2] 

C data[2*i + 1] 

D data[2*i + 2] 

+ Answer
+ Report
Total Preview: 3240

Copyright © 2024. Powered by Intellect Software Ltd