Ad
  • Default User Avatar

    you're actually returning a new string object here, while the problem description is asking you to return the same string in a mutated form.
    You can simply add '!' to do that.
    Nice solution though!