哈希表
- HashTable
- 也叫散列表,根据关键码值(key value)而直接进行访问的数据结构
- 通过把关键码值映射到表中的一个位置来访问记录,以加快查找速度
这个映射函数叫做散列函数 hash function 存放记录的数组叫做哈希表 hash table
映射
集合
实战
- https://leetcode.cn/problems/group-anagrams/
- https://leetcode.cn/problems/two-sum/description/
这个映射函数叫做散列函数 hash function 存放记录的数组叫做哈希表 hash table
让时间为你证明