Power of Two

Bit Manipulation ยท easy

Implement `isPowerOfTwo(n)` returning whether the integer `n` is a power of two.

Learning resources

Loading...

Run your code to see results.