Update a comment in array_hash_map

This commit is contained in:
krahets
2023-03-15 03:48:31 +08:00
parent d5afd93571
commit 518b9efabc
10 changed files with 11 additions and 11 deletions

View File

@ -23,8 +23,8 @@ private:
vector<Entry*> buckets;
public:
ArrayHashMap() {
// 初始化一个长度为 100 的桶(数组)
buckets= vector<Entry*>(100);
// 初始化数组,包含 100 个桶
buckets = vector<Entry*>(100);
}
/* 哈希函数 */