Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    That's because negative numbers would be out of scope. As the description says: "A string representation of an integer will contain no characters besides the ten numerals "0" to "9"." A negative number would also have a "-".