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

feat(hashing/hash_map_collision_with_linkedlist): Add go code #505

Closed

Conversation

shanghai-Jerry
Copy link
Contributor

@shanghai-Jerry shanghai-Jerry commented May 18, 2023

…tem when hash key collision in one bucket

If this PR is related to coding or code translation, please fill out the checklist and paste the console outputs to the PR.

  • I've tested the code and ensured the outputs are the same as the outputs of reference codes.
  • I've checked the codes (formatting, comments, indentation, file header, etc) carefully.
  • The code does not rely on a particular environment or IDE and can be executed on a standard system (Win, macOS, Ubuntu).

Based on implemention of arrayHashMap
add go code: using linked list to store items when hash collision happens in one bucket. CheckIssue here: #222
@Reanon @krahets PTAL

@vercel
Copy link

vercel bot commented May 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
hello-algo ⬜️ Ignored (Inspect) May 18, 2023 0:52am

@shanghai-Jerry shanghai-Jerry changed the title feat(hashing/array_hash_with_linkedlist): using linkedlist to store when hash collision happens in one bucket feat(hashing/array_hash_with_linkedlist) May 18, 2023
@shanghai-Jerry shanghai-Jerry changed the title feat(hashing/array_hash_with_linkedlist) feat(hashing/hash_map_collision_with_linkedlist) May 18, 2023
Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean implementation. But It is not in the outline of this book.

@krahets krahets closed this May 24, 2023
@shanghai-Jerry
Copy link
Contributor Author

Thanks for the clean implementation. But It is not in the outline of this book.

? it's the implementation about hash collision with linked list,why is outline of this book

@shanghai-Jerry shanghai-Jerry changed the title feat(hashing/hash_map_collision_with_linkedlist) feat(hashing/hash_map_collision_with_linkedlist): Add go code Jul 5, 2023
@krahets
Copy link
Owner

krahets commented Jul 5, 2023

Hi @shanghai-Jerry , thanks for your attention!

It is because there was no corresponding position in the article for this implementation. We should gurantte every executable code block can be found both in the source code file and articles.

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.

2 participants