Please enable JavaScript to use CodeHS

Data Structures in C++

Lesson 5.4 Maps

Description

In this lesson, students learn how to create and use maps. Maps are very handy data structures that use a key instead of an index to access values.


Objective

Students will be able to:

  • Explain how maps are different than other data structures they have encountered and where they can be used.
  • Create, insert, update, and access members of a map