1The first step in Heap Sort is to put the items in what structure?
binary tree
2What type of binary tree is used to start Heap Sort?
- Complete Binary Tree
- Partial Binary Tree
- Left Balance Binary Tree
3What is built as the initial structure in Heap Sort?
4Which item is repeatedly removed during Heap Sort?
5What process is performed after each removal in Heap Sort?
Reheap or Rebuild
6When a binary tree is complete, using an array instead of linked nodes is a better choice.
7In an array-based heap starting at index 1, when removing the heap’s largest object, you remove the root node.
8In a maxheap, the object in each node is greater than or equal to the objects in the node’s ancestors.
9In the array-based heap, the add method uses O(n) operations.
10We can use a heap to sort an array.
11Define a complete tree.
A complete tree is full to its next-to-last level, and its leaves on the last level are filled in from left to right.