Skip to content

Commit b8ead56

Browse files
committed
HashMap
1 parent eedfd84 commit b8ead56

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

MD/HashMap.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@ get 和 put 类似,也是将传入的 Key 计算出 index ,如果该位置
3939

4040
如果是红黑树,时间复杂度就是 `O(logn)`
4141

42+
大大提高了查询效率。
43+
4244
多线程场景下推荐使用 [ConcurrentHashMap](https://github.com/crossoverJie/Java-Interview/blob/master/MD/ConcurrentHashMap.md)

0 commit comments

Comments
 (0)