摘要: (转自leetcode,https://leetcode-cn.com/leetbook/read/hash-table/xh8uld/) 哈希表的原理: 哈希表的关键思想是使用哈希函数将键映射到存储桶。更确切地说, 1.当我们插入一个新的键时,哈希函数将决定该键应该分配到哪个桶中,并将该键存储在相 阅读全文
posted @ 2021-08-07 22:27 lbeaner 阅读(100) 评论(0) 推荐(0)