String to Integer (atoi)

Note: We can use INT_MAX and INT_MIN directly.