Skip to content

Added file to calculate set bits in a number #3262

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 3 commits into from
Sep 14, 2022
Merged

Added file to calculate set bits in a number #3262

merged 3 commits into from
Sep 14, 2022

Conversation

PratyushSingh07
Copy link
Contributor

I have used Brian Kernighans algorithm to count set bits of a number . I have add this file in others folder and the test file in the corresponding folder in test folder.

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak enabled auto-merge (squash) September 14, 2022 17:05
@siriak siriak merged commit 8f18b92 into TheAlgorithms:master Sep 14, 2022
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