Qualcomm interview question

Reverse the bits of an integer