How are hash tables used in associative array?

A hash table is a data structure used to implement an associative array, a structure that can map keys to values. A hash table uses a hash function to compute an index into an array of buckets or slots. To prevent the collision of two keys ,the idea of Double Hashing is used.
For More Information Please Refer:

You May Also Like to Read: