Reverse Integer

Reverse digits of an integer.
Example
x = 123, return 321
x = -123, return -321

Login to see Answer and Coaching Session More interview questions