InterviewSolution
Saved Bookmarks
| 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 heapThe question was asked in an online quiz.This question is from STL in portion Class Hierarchies, Library & Containers of C++ |
|
Answer» The correct ANSWER is (b) To sort the ELEMENTS in the heap into ascending order |
|