From e69194dc6d084d0b413abdde8312dcce09fe98d4 Mon Sep 17 00:00:00 2001 From: feelschaotic Date: Sat, 7 Dec 2019 14:50:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Hashmap=E8=A1=A5=E5=85=85=20=E6=B1=82?= =?UTF-8?q?=E4=BD=99%=E5=92=8C=E4=B8=8E=E8=BF=90=E7=AE=97&=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\351\233\206\345\220\210/HashMap.md" | 5 +++++ 1 file changed, 5 insertions(+) diff --git "a/6. \345\237\272\347\241\200\350\203\275\345\212\233/\351\233\206\345\220\210/HashMap.md" "b/6. \345\237\272\347\241\200\350\203\275\345\212\233/\351\233\206\345\220\210/HashMap.md" index 9c47d23..7e70c4b 100644 --- "a/6. \345\237\272\347\241\200\350\203\275\345\212\233/\351\233\206\345\220\210/HashMap.md" +++ "b/6. \345\237\272\347\241\200\350\203\275\345\212\233/\351\233\206\345\220\210/HashMap.md" @@ -21,3 +21,8 @@ HashMap并不简单,涉及的知识遍及线程、Java内存模型、哈希计 - [HashMap深度分析](https://www.jianshu.com/p/8b372f3a195d) > 从面试的角度切入,可以作为细节点的补充。 + +## 细节 + +- [由HashMap哈希算法引出的求余%和与运算&转换问题](https://www.cnblogs.com/ysocean/p/9054804.html) +> 从数学的角度论证为什么当 lenth = 2n 时,X % length = X & (length - 1)