Ecommet

DSA sheet · Topic

Bit Manipulation & Math interview problems

XOR tricks, counting and reversing bits, and fast exponentiation: short solutions that rely on one key fact.

  • 7 problems
  • Java + Python
  • Free, no sign-up
Progress options

18 Bit Manipulation & Math XOR tricks, counting and reversing bits, and fast exponentiation: short solutions that rely on one key fact. 0 / 7
  1. 145 Single Number Easy Practice Single Number on LeetCode (opens in a new tab)
  2. 146 Number of 1 Bits Easy Practice Number of 1 Bits on LeetCode (opens in a new tab)
  3. 147 Counting Bits Easy Practice Counting Bits on LeetCode (opens in a new tab)
  4. 148 Missing Number Easy Practice Missing Number on LeetCode (opens in a new tab)
  5. 149 Reverse Bits Easy Practice Reverse Bits on LeetCode (opens in a new tab)
  6. 150 Pow(x, n) Medium Practice Pow(x, n) on LeetCode (opens in a new tab)
  7. 151 Sum of Two Integers Medium Practice Sum of Two Integers on LeetCode (opens in a new tab)

All topics