Reverse Integer, simple question, but in fact the problem can be very tricky if the test data is well designed