mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-01 12:47:14 +00:00
Update the captions of all the figures.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
在原始哈希表中,桶内的每个地址只能存储一个元素(即键值对)。**考虑将单个元素转化成一个链表,将所有冲突元素都存储在一个链表中**。
|
||||
|
||||

|
||||

|
||||
|
||||
链式地址下,哈希表操作方法为:
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
1. 找到对应元素,返回 value 即可;
|
||||
2. 若遇到空位,则说明查找键值对不在哈希表中;
|
||||
|
||||

|
||||

|
||||
|
||||
线性探测存在以下缺陷:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user