Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra Credit Robinhood hashing -- Naman #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

namandangi
Copy link

No description provided.

@namandangi
Copy link
Author

namandangi commented Dec 2, 2022

Robin Hood Hashing implementation based on the following blog articles:
https://programming.guide/hash-tables-open-addressing.html
https://programming.guide/robin-hood-hashing.html

Note:

  • Made use of linear probing to counter collision
  • Delete excludes the backward shifting to simplify the implementation
  • Test cases are simple and only check for basic functionality

Build Instructions:

mkdir build
cd build

cmake -DCMAKE_BUILD_TYPE=Release ..
make check
./test/file_test
valgrind ./test/file_test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant