Ad
  • Custom User Avatar

    You should not convert the stringified result derived from the regex group to integer, because it will truncate leading zeros, giving the wrong results. Not a kata issue nonetheless.

  • Custom User Avatar

    Because not every character is a valid optional nose.

    A smiley face can have a nose but it does not have to. **Valid characters for a nose are - or ~**