MongoDB Interview Question

Reverse an integer without turning it into a String.