Skip to content

ecemcinar/RobinHoodHashing-HashTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RobinHoodHashing-HashTable

robin-hood-hashing

Steps

  • Calculate the hash value and initial index of the entry to be inserted
  • Search the position linearly
  • While searching, the distance from initial index is kept which is called DIB (Distance from Initial Bucket)
  • If empty bucket is found, we can insert the entry with DIB here
  • If we encounter a entry which has less DIB than the one of the entry to be inserted, swap them.

About

Robin Hood Hashing implemented with Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages