Skip to content

Setting key-value pairing in a HashTable where that key is already present w/ a different value. #521

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

Open
nnisic opened this issue Aug 1, 2020 · 0 comments

Comments

@nnisic
Copy link

nnisic commented Aug 1, 2020

When setting a key-value pairing in a HashTable where that key is already present but w/ a different value, the current set function replaces the already present node in the bucket's linked list instead of just appending the new key-value pairing. Let me know if this just by design!

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

No branches or pull requests

1 participant