The procedure FindMin() to find the minimum element and the procedure DeleteMin() to delete the minimum element in min heap take _________
A. logarithmic and linear time constant respectively
B. constant and linear time respectively
C. constant and quadratic time respectively
D. constant and logarithmic time respectively
Answer:C
The procedure FindMin() to find the minimum element and the procedure DeleteMin() to delete the minimum element in min heap take _________
A. logarithmic and linear time constant respectively B. constant and linear time respectively C. constant and quadratic time respectively D. constant and logarithmic time respectively