|
This lecture introduces
heaps, which are used in the Priority Queue project of Chapter 10. The
lecture includes the algorithms for adding to a heap (including
reheapification upward), removing the top of a heap (including
reheapification downward), and implementing a heap in a partially-filled
array.
|