第 1 步:unordered_map:按桶放
第 2 步:遍历顺序跟着桶走,说不准
第 3 步:map:红黑树,遍历从小到大
std::unordered_map 的底层是【0】。
std::unordered_map
全部评论