Sets and Maps
摘要
In the last chapter we studied sequences which are used to keep track of lists of things where duplicate values are allowed. For instance, there can be two sixes in a sequence or list of integers. In this chapter we look at sets where duplicate values are not allowed. After examining setsSet we’ll move on to talk about maps. MapsMap may also be called dictionaries orHash hash tables.