-
Notifications
You must be signed in to change notification settings - Fork 270
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
added Hash Table #160
added Hash Table #160
Conversation
In |
I've updated it but would like to see your approach as well 👍 |
@ashokdey |
Because I am not able to finalize either to override a value when the same key is used more than once. For example: ht.set('hello', 'Hello Hash Table');
ht.set('hello', 'Hello World'); I am willing to go with override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
🌮 What's Inside?
Added the most extensively used Data Structure - Hash Tables (aka Hash Map)
API Details:
Note: Passing the same key with different value, overrides the previous value
🏖