Please enable JavaScript to use CodeHS

Data Structures in C++

Sets and Maps

Students apply their knowledge from the previous module while learning about associative data structures and how they can be used to solve problems.

Lessons

5.1 Pairs and Iterators

  • Pairs and Iterators
  • Pairs
  • Iterators
  • Quiz: Pairs and Iterators
  • Deck of Cards
  • +1 more

5.2 Sets

  • Sets
  • Basic Sets
  • Iterating Through a Set
  • Sets of Struct Values
  • Quiz: Sets
  • +2 more

5.3 Project: Bingo

  • Bingo - Demo
  • Part 1 - Game Setup
  • Part 2 - Playing a Turn
  • Part 3 - Finding a Winner

5.4 Maps

  • Maps
  • Map Basics
  • Iterating Through a Map
  • Updating Maps
  • Quiz: Maps
  • +2 more

5.5 Project: FRC Scoring System

  • FRC Scoring - Planning
  • FRC Scoring - Build

5.6 End of Unit Quiz

  • Quiz: Sets and Maps

Courses that include this module