Question: A- Write an algorithm (pseudo code) IS-MIN-HEAP to check if the input array A is a MIN-HEAP or not using a minimal number of comparisons.
B- What is the running time complexity of the algorithm. ______________________________________________________________________________
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
