If size of input number is beyond the range of 32 bit signed number like 2147483648 or -2147483649


#1

If size of input number is beyond the range of 32 bit signed number like 2147483648 or -2147483649. How to handle this case?


#2

Use INT_MAX and INT_MIN. Compare the value of the reversed number before multiplication and addition