Skip to main content
  1. /classes/
  2. Classes, Fall 2025/
  3. CS 2381 Fall 2025: Course Site/

cs2381 Notes: 09-12 Even More Lists

·46 words·1 min·

How does an ArrayList work?
#

  • An array of items.
  • Separate size and capacity.
  • Double size when full.
  • Finish the simulation from last time.
  • Show the amortized proof.

Let’s build our our own List.
#

Make ConsList (with the interface) implement some of the List interface.

Nat Tuck
Author
Nat Tuck