Lesson 5: Interfaces and Lists

Outline:

  1. Questions?
  2. Interfaces
  3. Arrays in Kotlin
  4. Array-based lists
    • list ADT
    • implementing a list using an array: Exercise
    • computational complexity
  5. Wrap-up

What’s next

Upcoming events/assessments:

  • CS Bits and Bytes tomorrow at 3:30pm in Anderson 329: Networking 101
  • Assignment 2 is due Friday

What you should do now:

  • The readings (see below)
  • Finish Assignment 2 and bring questions to student hours and/or class Friday!
  • Look at feedback from Assignment 1 and work on a resubmission!

Reading assignment (to be completed by the next class):

Kotlin interfaces, arrays (from today):

Solving problems with stacks (for next time):