LogiQuest

Bit Manipulation

Binary tricks with AND, OR, XOR and shifts.

17 problems

StatusTitleDifficulty
1. Power of TwoEasy
2. Gray CodeMedium
3. Count Set BitsEasy
4. Set Bits for 0..NEasy
5. The Single NumberEasy
6. Single Number Among TriplesMedium
7. Reverse BitsEasy
8. Hamming DistanceEasy
9. Total Hamming DistanceMedium
10. Find the Duplicate NumberMedium
11. Sum of All Subset XORsMedium
12. Bitwise AND of a RangeMedium
13. Power of FourEasy
14. Maximum XOR of Two NumbersHard
15. Bits to FlipEasy
16. Two Numbers with Odd CountsMedium
17. Add BinaryEasy

17 of 17 problems