CSSE 230: Session Notes - Day 14
Topics
- Priority queues
- Heapsort
Outline
- [5 min] Contact before work
- [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
- [15 min] Heap sort
- [5 min] Break
- [25 min] Analysis of heap sort: best, worst, average case
- [Balance of time] Start work on Priority queue
Resources