Bloomberg Interview Question

Reverse Integer