Heaps / Heap Sort
Heap Sort Problems
Problem : Does the following array represent a heap?
{8, 5, 9, 3, 6, 2, 1}
Problem : Imagine that instead of using an array to represent the heap, we use a singly linked list. Why might this be innefficient? (Hint: Consider the insertions that must be done).





