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: Added Binary Addition Algorithm #2802

Merged
merged 49 commits into from
Oct 24, 2024

Conversation

mjk22071998
Copy link
Contributor

@mjk22071998 mjk22071998 commented Oct 9, 2024

Description of Change

I have added Binary addition algorithm that takes two binary numbers as string and return a string containing a binary number equals to sum of above two numbers. This PR is under hacktoberfest

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

mjk22071998 and others added 30 commits October 5, 2024 10:13
…d data types to std::int64_t, and reformatted code."
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
@realstealthninja realstealthninja added the awaiting modification Do not merge until modifications are made label Oct 10, 2024
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
mjk22071998 and others added 3 commits October 19, 2024 16:08
Removed @see link in header documentation

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
greedy_algorithms/binary_addition.cpp Outdated Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Show resolved Hide resolved
greedy_algorithms/binary_addition.cpp Show resolved Hide resolved
mjk22071998 and others added 3 commits October 22, 2024 23:34
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Copy link
Collaborator

@realstealthninja realstealthninja left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for this pr

@realstealthninja realstealthninja added approved Approved; waiting for merge hacktoberfest-accepted Accepted to be counted towards Hacktoberfest and removed awaiting modification Do not merge until modifications are made labels Oct 23, 2024
@realstealthninja realstealthninja merged commit ecb8a33 into TheAlgorithms:master Oct 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved; waiting for merge hacktoberfest-accepted Accepted to be counted towards Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants