A hash table, or a hash map, is a data structure that associates keys with values. It works by transforming the key using a hash function into a hash, a number that the hash table uses to locate the d...A hash table, or a hash map, is a data structure that associates keys with values. It works by transforming the key using a hash function into a hash, a number that the hash table uses to locate the desired value. This hash maps directly to a bucket in the array of key/value pairs, hence the name hash map. Returns the value of the element for the given key. Sets the element of the array for the given key to be equal to new-value. Remove the element for the given key from the hash table.