The Algorithms logo
The Algorithms
AboutDonate

Bit Manipulation

Binary Count Setbits

Binary Twos Complement

Count Number of One Bits

Count 1s Brian Kernighan Method

Binary or Operator

Binary and Operator

Is Power of Two

Index of Rightmost Set Bit

Binary Xor Operator

Highest Set Bit

Binary Count Trailing Zeros

Gray Code Sequence

Single Bit Manipulation Operations

Next Power Of Two

Count of Trailing Ciphers in Factorial N

Find Non Repeating Number

Count of Set Bits

Count Bits Flip

Binary Count Trailing Zeroes

Single Bit Binary Operations