错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Sets and Maps

  • Kent D. Lee,
  • Steve Hubbard

摘要

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.