cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Check whether a number is a power of 2 using bit manipulation

Open shubhamcr opened this issue 9 years ago • 6 comments

To check efficiently whether a number is power of 2 using bit manipulation

shubhamcr avatar Oct 12 '17 17:10 shubhamcr

Check PR #1298 C++ code

shubhamcr avatar Oct 12 '17 17:10 shubhamcr

Implemented power of 2 in javascript #1484

Jiraphapa avatar Oct 14 '17 15:10 Jiraphapa

Add C# implementation to check power of 2. Refer #1492

nickdex avatar Oct 14 '17 16:10 nickdex

I would like to work on it in C++ and pyhton please assign it to me as a part of GSSoC 20

abhijeet010304 avatar Mar 24 '20 04:03 abhijeet010304

I'm a GSSoC'20 participant. Would love to work on this issue. In what languages is this issue open for now? @arnavb @AdiChat Please assign me this issue if it is still open

HariniJeyaraman avatar Mar 24 '20 11:03 HariniJeyaraman

@HariniJeyaraman Check the corresponding code directory. You can do this in any available language.

arnavb avatar Mar 24 '20 20:03 arnavb