cpp 数据容器

哈希表

类型 特点
std::unordered_set 优先用它
std::set 如果需要集合是有序用它
std::multiset 不仅有序还需要重复元素

数据容器

cpp 数据容器-2.png