Skip to content

feat: add string hamming distance algorithm #747

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

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

alirezaazadi
Copy link
Contributor

This pull request adds an implementation for the Hamming distance algorithm under ./strings/hamming and adds its test to the hammingdistance_test.go file.

@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.45%. Comparing base (b9f7d55) to head (3da5afc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #747      +/-   ##
==========================================
+ Coverage   87.41%   87.45%   +0.04%     
==========================================
  Files         210      211       +1     
  Lines        7054     7064      +10     
==========================================
+ Hits         6166     6178      +12     
+ Misses        742      741       -1     
+ Partials      146      145       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raklaptudirm raklaptudirm merged commit e64d1f5 into TheAlgorithms:master Oct 25, 2024
5 checks passed
mapcrafter2048 pushed a commit to mapcrafter2048/Go that referenced this pull request Oct 31, 2024
* feat: add string hamming distance algorithm

* refactor: use only a double quote for a single package import

---------

Co-authored-by: Rak Laptudirm <[email protected]>
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.

3 participants