What are hashtables and hashmaps and their typical use cases?

后端 未结 4 685
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 01:38

I have recently run across these terms few times but I am quite confused how they work and when they are usualy implemented?

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 02:11

    Hashtables/hashmaps associate a value (called 'key' for disambiguation purposes) with another value. You can think them as kind of a dictionary (word: definition) or a database record (key: data).

提交回复
热议问题