The Algorithms logo
The Algorithms
AboutDonate

Bit Manipulation

Is Power of Two

Gray Code Sequence

Binary and Operator

Single Bit Manipulation Operations

Numbers Different Signs

Binary Twos Complement

Count 1s Brian Kernighan Method

Count Number of One Bits

Highest Set Bit

Binary or Operator

Binary Count Trailing Zeros

Binary Xor Operator

Index of Rightmost Set Bit

Binary Count Setbits

Next Power Of Two

Count of Set Bits

Count Bits Flip

Find Non Repeating Number

Travelling Salesman Using Bit Manipulation

Count of Trailing Ciphers in Factorial N

Binary Count Trailing Zeroes

Single Bit Binary Operations