Google Interview Question

something about bit manipulation