Why can we say the complexity of hashmap is O(1)

前端 未结 0 1218
我寻月下人不归
我寻月下人不归 2020-12-18 10:42

I\'ve been using hashmap for a long time and I always believe that its complexity is O(1).

I know that the key of hashmap is the hash function, which can map a key to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题