Computer Science, asked by manishnarwat12, 9 months ago

If a binary tree is represented in an array, what formula can be used to locate a right child, if the node has an index j?​

Answers

Answered by skumarsanthosh23
2

Answer:

If binary trees are represented in arrays, left children are located at indices 2i+1 and right children at 2i+2

Similar questions