Hash Collision Resolution

Linear Probing
(adjacent location checking)

Chaininglinked list stack queue

Buckets

Chaining

Complexity of Hashing

  insert, delete, member

  O(1 + N/B)
  N = # keys  
  B = # buckets

What affects runtime?

Hashing functions?

Example of Chaining


Return to CIS 350 Index Page