Question: 3. (12 points) Shown below is a heap in both schematic representation and vector implementation, (The blank cells of the vector are currently unused.) 10

3. (12 points) Shown below is a heap in both schematic representation and vector implementation, (The blank cells of the vector are currently unused.) 10 7 6 2 3 10 9 8 7. 6 2 3 02 2 3 1 6 7 8 (a) Show the contents of the vector after performing push(11) on the heap. (b) Show the contents of the vector after performing pop() and state the value that is returned by the operation. (e) Show the contents of the vector after performing another pop() and state the value that is returned by the operation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
