The Algorithms logo
The Algorithms
AboutDonate

Bit Manipulation

Numbers Different Signs

Single Bit Manipulation Operations

Binary Twos Complement

Binary or Operator

Highest Set Bit

Binary Xor Operator

Gray Code Sequence

Binary Count Setbits

Count 1s Brian Kernighan Method

Count Number of One Bits

Binary Count Trailing Zeros

Index of Rightmost Set Bit

Is Power of Two

Binary and Operator

Next Power Of Two

Count of Trailing Ciphers in Factorial N

Count of Set Bits

Count Bits Flip

Find Non Repeating Number

Travelling Salesman Using Bit Manipulation

Single Bit Binary Operations

Binary Count Trailing Zeroes