You are given a Heap represented by an array A[1, ..., n].One of the values in the Heap needs to be changed to a different value.Say, the k’th element, 1 <= k="">=><= n,="" is="" to="" be="" updated="" to="" a="" new="" value="">=>Write pseudocode to perform fixing the Heap when you update this value.Hint: Consider three cases, A[k] == X, A[k] > X, A[k] <>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here