Hash Table

Hash Table is an array of fixed size that contain keys with no ordering info.

Hash Table could be used in:

Details

Analysis

  • Insertions will result in \(O(N)\) in average case
  • Deletions will result in \(O(N)\) in average case
  • Finds will result in \(O(N)\) in average case
  • The table size should be prime to optimise the space usage
Links to this page
#data-structure #hash-table #graph