Question: 1. (10pts) Consider the following array. A[1 to n] = {16, 14, 10, 11, 13, 9, 7, 4, 8, 12, 6), where n-11 It is
![1. (10pts) Consider the following array. A[1 to n] = {16,](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f30570e825b_67266f305707fc6f.jpg)
1. (10pts) Consider the following array. A[1 to n] = {16, 14, 10, 11, 13, 9, 7, 4, 8, 12, 6), where n-11 It is also a heap satisfying the heap property. Answer the questions by choosing the correct items. (a) What is the left child of 13? (b) What is the parent of 11? (c) Insert 15 to the heap. What is the parent of 14 after it? (d) After the insertion, what is the right child of 15? (e) What is depth of the heap after the insertion? Answer choices: (1) 1, (2) 2, (3) 3, (4) 4, (5) 5, (6) 6, (7) 7, (8) 8, (9) 9, (10) 10 (11) 11, (12) 12, (13) 13, (14) 14, (15) 15, (16) 16, (17) None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
