Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice
Bit Manipulation: Brian Kernighan's Algorithm
Open
LGMSOC21
🟨 Level2
- Dominant language
- C++
- Stars
- 323
- Forks
- 472
- PR merge metrics
- No merged PRs in 30d
Description
# Aim
- To check if a given number is a power of two.
# Details
-Given a non-negative integer N. The task is to check if N is a power of 2. More formally, check if N can be expressed as 2x for some x using bit manipulation.
### Programming language
C++
Contributor guide
Assessment
This issue has not been assessed yet.