The Algorithms logo
The Algorithms
AboutDonate

Bit Manipulation

Binary and Operator

Binary Count Setbits

Binary Count Trailing Zeros

Binary or Operator

Binary Twos Complement

Binary Xor Operator

Bitwise Addition Recursive

Count 1s Brian Kernighan Method

Count Number of One Bits

Gray Code Sequence

Highest Set Bit

Index of Rightmost Set Bit

Is Power of Two

Missing Number

Numbers Different Signs

Single Bit Manipulation Operations

Is Powerof Four

Next Power Of Two

Unique Element In An Array

Count Bits Flip

Count of Set Bits

Count of Trailing Ciphers in Factorial N

Find Non Repeating Number

Next Higher Number with Same Number of Set Bits

Travelling Salesman Using Bit Manipulation

Non Repeating Number Finder

Single Bit Operations

Binary Count Trailing Zeroes

Single Bit Binary Operations