Return the number with its digits reversed. 1234 becomes 4321.
int reverse(int n)
Examples
There are also 4 hidden tests you can't see. Solve the problem, not the examples.