Question: P 2 ) Suppose you are given an array A of sorted integers from 1 to 1 0 0 0 . ( 6 0 points
P Suppose you are given an array of sorted integers from to points
A:
a Do you think this array represents a heap max or min
Max
b If it is a heap, what is its height? use the maximum, minimum number of keys in a height heap.
c Then, what number will be the parent of
d What number will be the right child of
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
