Q.No.3 a) Which array out of A, B and C represents a 0 1 2 3 4 56 7 8 9 10 11 binary heap? Only one answer is right. A. 1 12 23 10 15 38 45 15 18 20 21 b) Write the heap out as a binary tree. 0 1 2 3...


Q.No.3<br>a) Which array out of A, B and C represents a<br>0 1 2 3 4 56 7 8 9 10 11<br>binary heap? Only one answer is right.<br>A. 1 12 23 10 15 38 45 15 18 20 21<br>b) Write the heap out as a binary tree.<br>0 1 2 3 4 567 8 9 10 11<br>c) Add last 2 digit of your arid no(Take 7 and<br>B= 18 27 10 45 | 83 91 31 12 52 51<br>0 1<br>2<br>3<br>8 9 10 11<br>2). to the heap, making sure to restore the<br>C: 1 13 20 21 65 54 67 41 30 83 52<br>heap invariant. How does the array look<br>now?<br>

Extracted text: Q.No.3 a) Which array out of A, B and C represents a 0 1 2 3 4 56 7 8 9 10 11 binary heap? Only one answer is right. A. 1 12 23 10 15 38 45 15 18 20 21 b) Write the heap out as a binary tree. 0 1 2 3 4 567 8 9 10 11 c) Add last 2 digit of your arid no(Take 7 and B= 18 27 10 45 | 83 91 31 12 52 51 0 1 2 3 8 9 10 11 2). to the heap, making sure to restore the C: 1 13 20 21 65 54 67 41 30 83 52 heap invariant. How does the array look now?

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here