Question 6
In a complete binary tree of n nodes, what is the index of the parent of node at index i (1-based indexing)?
In 1-based array storage of a complete binary tree, the parent of node i is at index floor(i / 2), the left child is at 2i, and the right child is at 2i + 1.