Tuesday, May 1, 2007

Bit operations Based Interview Questions

  1. Count Number of Bits in the Given Number
  2. Obvious Inefficient Solution for Bit Count
  3. Most Common and Hard Microsoft Byte based Question
  4. Convert lowercase characters into Uppercase using Bitwise Operators
  5. How to Reverse bits of an unsigned integer.
  6. How do we test whether a number is a power of two?