mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-24 02:03:41 +00:00
Update Java 容器.md
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
b611ed19c9
commit
f0203dccc2
+1
-1
@@ -752,7 +752,7 @@ new capacity : 00100000
|
||||
对于一个 Key,它的哈希值 hash 在第 5 位:
|
||||
|
||||
- 为 0,那么 hash%00010000 = hash%00100000,桶位置和原来一致;
|
||||
- 为 1,hash%00010000 = hash%00100000 + 16,桶位置是原位置 + 16。
|
||||
- 为 1,hash%00100000 = hash%00010000 + 16,桶位置是原位置 + 16。
|
||||
|
||||
#### 7. 计算数组容量
|
||||
|
||||
|
||||
Reference in New Issue
Block a user