Multiple Choice
The first step in the heapsort of this chapter is to convert the list into a heap, called ____.
A) newHeap
B) buildHeap
C) convertHeap
D) addHeap
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q32: In C++, the array index starts at
Q33: If the list is stored in an
Q34: Sorted sublists are merged into a sorted
Q35: In mergesort, most of the sorting work
Q36: After inserting the new element in the
Q38: With selection sort, we can keep track
Q39: When inserting an element in the priority
Q40: A(n) _ finds the location of the
Q41: Assuming the priority queue is implemented as
Q42: A sorting algorithm makes key comparisons and