Copyright © Philip M. Parker, INSEAD. Terms of Use.

HASH TABLE

Specialty Definition: HASH TABLE

DomainDefinition

Computing

Hash table hash coding. Source: The Free On-line Dictionary of Computing.

Math

A dictionary in which keys are mapped to array positions by a hash function. Having more than one key map to the same position is called a collision. There are many ways to resolve collisions, but they may be divided into open addressing, in which all elements are kept within the table, and chaining, in which additional data structures are used. (references)

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Hash table

(From Wikipedia, the free Encyclopedia)

In computer science, a hash table is a data structure that implements an associative array. Like any associative array a hash table is used to store many key => value associations.

A hash table maintains two arrays, one for keys, one for values (or possibly one array of (key, value) pairs - it doesn't really matter). The elements of these arrays are referred to as buckets. When required to find the associated value for a given key, the key is fed through a hash function to yield an integer (called the hash value). This integer is then the index to the associated value.

Hash tables offer insertions, lookups, and deletions in O(1) amortized time, with the caveat that hash collisions need to be dealt with. A collision is when two or more different keys hash to the same integer (they have the same hash value). Techniques for dealing with collisions include probing, chaining, and rehashing. Note that probing and chaining are generally mutually exclusive.

Probing is, upon finding a collision, moving to the next free bucket in the table (or incrementing by some number other than 1). Chaining involves using each bucket as a pointer to another structure, such as an array, a linked list, or even another hash (preferably with a different size and/or hashing function).

Both probing and chaining can be problematic because, as more and more elements are added to the hash, the O(1) property is lost! Rehashing is a technique to minimize this effect: by increasing the size of the table and recomputing the hash values with respect to the new table size, the O(1) property can be maintained. Hash tables work faster the fewer occupied entries they have because there will be fewer collisions. If the ratio of occupied entries to total entries is kept below some fixed constant then the performance of hash tables will be reasonable.

Widely useful, hash tables are found in a wide variety of programs.

See also: Distributed hash tables

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Hash table."

Top     

Crosswords: HASH TABLE

Specialty definitions using "HASH TABLE": clustering free, collision resolution schemedouble hashing, dynamic hashingextendible hashinghash function, hash table deletelinear probingopen addressingperfect hashingquadratic probinguniform matrix. (references)

Top     

Frequency of Internet Keywords: HASH TABLE

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

hash table

36

c++ hash table

3

c hash table

2

distributed hash table

2

hash table tutorial

2
Source: compiled by the editor from various references; see credits.

Top     

Modern Translation: HASH TABLE

Language Translations for "HASH TABLE"; alternative meanings/domain in parentheses.

French

  

table de hachage. (various references)

   

German

  

Hash-Tabelle. (various references)

   

Italian

  

tabella d'indirizzamento casuale. (various references)

   

Pig Latin

  

ashhay abletay

   

Spanish

  

tabla de elección arbitraria. (various references)

Source: compiled by the editor from various translation references.

Top     

Anagrams: HASH TABLE

Scrabble® Enable2K-Verified Anagrams

Words within the letters "a-a-b-e-h-h-l-s-t"

-2 letters: ablates, altheas, hatable, healths.

-3 letters: abates, ablate, ablest, alates, althea, basalt, bathes, bleats, halest, haslet, health, heaths, lathes, sheath, shelta, stable, tablas, tables.

-4 letters: abase, abash, abate, abets, ables, alate, albas, atlas, baals, bahts, balas, bales, balsa, basal, baste, bates, bathe, baths, beast, beats, belts, betas, beths, blahs, blase, blast, blate, blats, bleat.

-5 letters: aahs.

 Words containing the letters "a-a-b-e-h-h-l-s-t"
 

+5 letters: hatchabilities.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: HASH TABLE


Hexadecimal (or equivalents, 770AD-1900s) (references)

48 41 53 48      54 41 42 4C 45

Leonardo da Vinci (1452-1519; backwards) (references)

    

Binary Code (1918-1938, probably earlier) (references)

01001000 01000001 01010011 01001000 00100000 01010100 01000001 01000010 01001100 01000101

HTML Code (1990) (references)

&#72 &#65 &#83 &#72 &#32 &#84 &#65 &#66 &#76 &#69

ISO 10646 (1991-1993) (references)

0048 0041 0053 0048      0054 0041 0042 004C 0045

Encryption (beginner's substitution cypher): (references)

4235534225435364639

Top     



INDEX

1. Crosswords
2. Expressions: Internet
3. Translations: Modern
4. Anagrams
5. Orthography
6. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.