Slide 1 SETS AND MAPS Chapter 9 Slide 2 Chapter Objectives To understand the C++ map and set containers and how to use them To learn about hash coding and its use…