1.

What is the use of sort_heap() function in heap?

A. To sort the elements in the heap into descending order
B. To sort the elements in the heap into ascending order
C. To sort the first half of the heap
D. To sort the second half of the heap
Answer» C. To sort the first half of the heap


Discussion

No Comment Found