Hash Tables

Search = O(1)





SSN or UM-D barcode

  10^9  vs  10^4
  used     needed

Library Example

Collision Resolution



O(N) can result if we are not careful



Quadratic Probing

  key + IČ
  I  = 0, 1, 2, 3, 4, ...
  IČ = 0, 1, 4, 9, 16, ...



Heuristic Rule for Table Sizes = 4 * J + 1


Return to CIS 350 Index Page