Topic 2. Containers

Lectures

  • Lecture 3. Containers, Part I

    Containers are C++’s way of storing and manipulating groups of elements. This lecture explores the Vector type and some nuances of C++ parameter-passing.

    • Readings: Chapter 5.1

    • Code

  • Lecture 4. Containers, Part II

    Map and Set provide a way to store data when keeping things in order isn’t needed. This lecture explores these foundational types and how to use them.

    • Readings: Chapter 5.4 - 5.5

    • Code

  • Lecture 5. Containers, Part III

    Stack and Queue are two fundamental data structures for storing specialized types of sequences. This lecture explores how they work and shows off a few of their applications.

    • Readings: Chapter 5.2 - 5.3

    • Code

Sections

Assignments