CSSE 230: Session Notes - Day 13
Topics
- Ammortized analysis of algorithms
- Abstract Data Types
- Binary Heaps
- Priority Queues
Outline
- [5 min] Contact before work
- [10 min] A closer look at Java's ArrayList
data structure, in particular at adding elements.
- [15 min] Introduction to amortized
analysis of algorithms. Analyis of adding to an array. Why we
should double the array when we resize it.
- [10 min] Abstract Data
Types.
- [5 min] Break
- [20 min] Introduction to Binary
Heaps.
Resources
Homework
- Day 15, BC: Submit your answers to the amortization homework Please
submit a pdf copy of your work and please place your name near the top
of your document. Submissions that do not satisfy these two
constraints will not be graded. Thank you.