In heap sort, after deleting the last minimum element, the array will contain elements in?

In heap sort, after deleting the last minimum element, the array will contain elements in?
A. increasing sorting order
B. decreasing sorting order
C. tree inorder
D. tree preorder
 
Answer: b
Explanation: By logic, after deleting minimum element, the heap will contain elements in decreasing sorting order. We can change this by altering the ordering property.
 

Tìm kiếm

Back
Top