CSSE 230: Session Notes - Day 15
Topics
- Binary Heaps
- Priority Queues
- Heapsort
Outline
- [5 min] Contact before work
- [20 min] Introduction to Binary
Heaps.
- [5 min] Priority queues and their uses.
- [5 min] Implementing a priority queue
- [10 min] Informal analysis of Binary Heap operations
- [15 min] Group exercise: Analyze the methods in the following
implementation of a PriorityQueue
- [5 min] Break
- [15 min] Heap sort
- [25 min] Analysis of heap sort: best, worst, average case
- [Balance of time] Start work on Priority queue
Resources