What are HashMaps/Hashtables ?
Apr 13, 2021
The very first Data Structure I’m going to tackle….
DRUM ROLL please. …
Hash Maps!
Hash maps aka hash, hash table, map, unordered map, or dictionary.
What are Hashmaps?
A hash map is a data structure that implements an associative array abstract data type, a structure that can map keys to values. A value stored in a hash map is retrieved using the key under which it was stored.
The Hash table data structure stores elements in key-value pairs where
- Key- unique integer that is used for indexing the values
- Value — data that are associated with keys.
This video breaks down hashmaps very nicely.
The follow up to this Data Structure will be implementing HashMaps.
See you next time.