NVIDIA interview question

Bit manipulation: Swap adjacent bits.