-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
add count_number_of_one_bits.py #4195
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
@ruppysuppy , some of the checks are failing because of the changes. Will you please review my PR. |
The check are failing because of wrong format, presumably due to extra space and wrong doctest please correct them, using flake8 and recheck the doctests |
74f4965
to
9e54101
Compare
@ruppysuppy , now it's good to go?? |
* count-bits * update
* count-bits * update
* count-bits * update
Describe your change:
I have added an algorithm which counts the number of one (on bits) bits in a given positive integer.
Checklist:
Fixes: #{$ISSUE_NO}
.