Bitwise interview question

Reverse number