Frequently Asked Bit Algorithms interview questions

  1. Next higher number with the same number of set bits
  2. Find the two non-repeating elements in an array
  3. Number of bits to be flipped to convert A to B
  4. Swap all odd and even bits
  5. Karatsuba algorithm for fast multiplication