mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-18 22:00:14 +00:00
[PR #1364] [CLOSED] Add: Exercism C hamming challenge is added #1967
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1364
Author: @Zumh
Created: 10/30/2023
Status: ❌ Closed
Base:
master← Head:exercism📝 Commits (6)
c46ed55hamming is doned863442hamming is addeda690886hamming a.out is remove419abd5fix: add hamming title in README8004fc5docs: add the program description inside hamming.c file74b1f15fix: remove the main function for testing📊 Changes
3 files changed (+44 additions, -1 deletions)
View changed files
📝
exercism/README.md(+1 -1)➕
exercism/hamming/hamming.c(+36 -0)➕
exercism/hamming/hamming.h(+7 -0)📄 Description
Description of Change
This pull request introduces a C program that calculates the Hamming distance between two strings. The Hamming distance is a measure of the difference between two strings of equal length. This algorithm calculates the number of differing characters between two input strings, which can be useful for various applications, including error detection and correction.
Checklist
Notes
This pull request contains a C program that calculates the Hamming distance between two input strings. The
computerfunction performs the comparison and returns the number of differing characters. The code includes comments for clarity, and further testing and documentation may be needed to ensure its correctness and usability.Please review this pull request and provide feedback or merge it into the repository if it aligns with the project's goals.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.