Ad
  • Default User Avatar

    Yes that is exactly what it does. When the argument is negative it starts counting from the end of the string.

  • Default User Avatar

    The instructions talk about "exceeds 10" rather than "exceeds or equals 10", which reads as if 10 is a legitimate value. No test case appears to cover this.
    Is the intention to have a return range of 1-9 (digital root) or 1-10?

  • Custom User Avatar

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