C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

count_of_set_bits || C++. Can be solved using a single library to find the number of set bits in a number.

Open deoliaman00 opened this issue 3 years ago • 6 comments

Detailed description

The current solution of the Problem counting no of set bits in a number is done with the traditional way that consumes more time complexity then the inbuilt library in C++ for counting the no of bits. So can I add that code too in the present code and improve it.

Context

The function has O(k) time complexity which is way less then O(logn) since the k is no of set bits and n here is the number itself.

Possible implementation

No response

Additional information

No response

deoliaman00 avatar Oct 03 '22 17:10 deoliaman00

I want to work on this issue immediately Kindly assign me this issue so that I can work on it asap. Thanks.

deoliaman00 avatar Oct 03 '22 17:10 deoliaman00

@deoliaman00 assigned. Please read the contribution guidelines before even starting to code. You can anytime raise pr and it will be reviewed. You can ping me or join the discord to get answers to any of your doubts. Thanks and happy coding.

mishraabhinn avatar Oct 03 '22 19:10 mishraabhinn

Please See my pull request as I have already done the work.

deoliaman00 avatar Oct 06 '22 11:10 deoliaman00

please assign this issue to me

thewpingmonk avatar Oct 09 '22 18:10 thewpingmonk

I would love to work in this project ; Please assign this to me

prabhatsingh985 avatar Oct 10 '22 11:10 prabhatsingh985

hello sir, would you please assign this issue to me..???

nitink3006 avatar Oct 19 '22 10:10 nitink3006

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 28 '23 00:02 github-actions[bot]

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!

github-actions[bot] avatar Mar 07 '23 00:03 github-actions[bot]