X Interview Question

Bit manipulation