Bitwise Interview Question

Reverse a number without any arrays