Reading-Notes

HashTables :

What is a Hashtable?

What is a Buckets?

What is a Collisions ?

Hashtable Used for :

  1. Hold unique values
  2. Dictionary
  3. Library

Creating a Hash :

To achieve a good hashing mechanism, It is important to have a good hash function with the following basic requirements:

  1. Easy to compute.
  2. Uniform distribution.
  3. Less collisions

image1

Internal Methods :

Linear probing (open addressing or closed hashing)

Quadratic Probing

Double hashing

Sources:

source1

source2

source3