Qualcomm Interview Question

Reverse the bits of an integer