Hashmap结构
2023-05-10 21:57:35 6 举报
hashmap 数据结构
作者其他创作
大纲/内容
key = Ehash valuenext =null
key = Nhash valuenext =null
key = Fhash valuenext =N
index = hash %length()add()
.......
2
key = Chash valuenext =E
key = Ehash valuenext =F
时间复杂度O(N)
链表长度>=8
key = Dhash valuenext =null
key = Bhash valuenext =null
1
key = Ahash valuenext =null
key = Fhash valuenext =null
.........
key = Chash valuenext =null
4
5
0 条评论
下一页