CSSE 230: Session Notes - Day 13

Topics

  1. Ammortized analysis of algorithms
  2. Abstract Data Types
  3. Binary Heaps
  4. Priority Queues

Outline

  1. [5 min] Contact before work
  2. [10 min] A closer look at Java's ArrayList data structure, in particular at adding elements.
  3. [15 min] Introduction to amortized analysis of algorithms. Analyis of adding to an array. Why we should double the array when we resize it.
  4. [10 min] Abstract Data Types.
  5. [5 min] Break
  6. [20 min] Introduction to Binary Heaps.

Resources

Homework