Qualcomm Interview Question

Bit manipulation