我不明白为什么 hastable 的重新哈希复杂度在最坏的情况下可能是二次的:
http://www.cplusplus.com/reference/unordered_set/unordered_multiset/reserve/
任何帮助,将不胜感激 !
谢谢
hash stl hashset unordered-set
hash ×1
hashset ×1
stl ×1
unordered-set ×1