- Geeksforgeeks
- Swap bits in a given number
- **Find missing number in an array
- ** Find element which occurs only once except it all occurs thrice
- *************Find even occurring element in an array
- Find repeating and missing elemeny
- Count number of set bits in a number
- Count number of set bits in an array
- Swap two nibbles in an array
- **************Find sum of two numbers using bitwise operators
- Left shift fiddle in java
- Infinite stream of bits divisible by 3
- Smallest of three integers without comparison operators
- Boolean array puzzle
- *************Next higher number with same number of bits
- Optimization technique
- *************Add 1 to a given number
- Multiply given integer with 3.5
- Turn off right most set bit
- ***********Find whether given number is power of 4 or not
- ***********Compute integer absolute value with out branching
- Compute modulus division by a power of 2 number
- Compute minimum or maximum of two numbers with out branching
- ***********Rotate bits of a number
- ***********Find the two non repeating elements in an array of repeating elements
- ***********Count the number of bits to be flipped to convert a to b
- Count set bits in a number
- Reverse bits of a number
- Little and big endian
- Check for integer overflow
- Find the number occurring odd number of times
- Position of right most set bit
- Check whether a number is power of two or not
- Efficient way to multiply with 7
- Find parity of an unsigned number
- Check if a number is multiple of 3 or not
- Next power of 2
No comments:
Post a Comment