CSSE 230: Session Notes - Day 14

Topics

  1. Ammortized analysis of algorithms
  2. Abstract Data Types

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. [balance of time] Work on AVL tree assignment. Heaps.

Resources

Homework