Rare

Hash table

Associative array for storing key–value pairs

Hash table

Rare card · No. 72674

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. Most hash table designs employ an imperfect hash function. Hash collisions, where the hash function generates the same index for more than one key, therefore typically must be accommodated in some way. Common strategies to handle hash collisions include separate chaining, which stores multiple elements in the same slot using linked lists, and open addressing, which searches for the next available slot according to a probing sequence. In a well-dimensioned hash table, the...

Read on Wikipedia · Image Jorge Stolfi, CC BY-SA 3.0

Open boosters, collect cards and trade them. Free to play.

Play for free
Hash table – Rare Wikipedia card | Wikiverse TCG