+1 (218) 451-4151
glass
pen
clip
papers
heaphones

Let H be a heap storing 15 entries using the array-based representation of a complete binary…

Let H be a heap storing 15 entries using the array-based representation of a complete binary…

Let H be a heap storing 15 entries using the array-based representation of a complete binary tree. What is the sequence of indices of the array that are visited in a preorder traversal of H? What about an inorder traversal of H? What about a postorder traversal of H?