Ad
  • Default User Avatar

    I got that too, but then worked the kata in xcode playgrounds, copied the entire function back over to the kata, and it worked as it should do.

  • Default User Avatar

    At first I looked at this and was trying to work out a complicated algorithm. And then I saw the simple, beautiful logic, and had the answer in one line of code. Thanks for this kata