File:Hash_table_3_1_1_0_1_0_0_SP.svg · Wikimedia Commons · See Wikimedia Commons
hash table
Sign in to saveAlso known as hash map, hashtable, hashmap
associates data values with key values - a lookup table
In the Vinony graph
Vinony's link graph records 371 inbound references to hash table, and connects out to Ron Rivest, Donald Knuth and array data structure.
It sits within the topics 1953 in computing and Hash-based data structures.
Vinony links it to 46 Wikipedia language editions.
Key facts
- Type
- Unordered associative array
- Operation
- Average
- Search
- Θ(1)
- Insert
- Θ(1)
- Delete
- Θ(1)
- Space
- Θ( n )
via Wikipedia infobox
Wikidata facts
- Instance of
- data structure
- Subclass of
- associative array
- Image
- HASHTB12.svg
Show 5 more facts
- Commons category
- Hash tables
- inception
- 1953-00-00
- time of discovery or invention
- 1953-00-00
- Stack Exchange tag
- stackoverflow.com/tags/hashmap
- maintained by WikiProject
- WikiProject Mathematics
via Wikidata · CC0
~29 min read
Encyclopedic overview
A small phone book as a hash table
In computer science, a hash table is a data structure that implements an associative array, also called a dictionary or simply map; an associative array is an abstract data type that maps keys to values. A hash table uses a hash function to compute an index, also called a hash code, into an array of buckets or slots, from which the desired value can be found. During lookup, the key is hashed and the resulting hash indicates where the corresponding value is stored. A map implemented by a hash table is called a hash map.
Excerpted from Wikipedia’s “hash table” article, available under the CC BY-SA 4.0 licence.