MongoDB interview question

Reverse an integer without turning it into a String.