Ad
  • Custom User Avatar

    Your current solution still fails for cases that contain numeric characters (0-9) because they are considered valid characters but your code discards them

  • Custom User Avatar

    Error with this crappy message was displayed when a solution used reverse, which was disallowed by the kata. I removed the restriction, and you can now use any function you like. This error should not appear anymore. Can you try again and see if you still receive the message? If so, in what language?

  • Custom User Avatar

    Read this: https://docs.codewars.com/training/troubleshooting/#print-input and use console.log() instead of print() for javascript.

  • Default User Avatar

    For some reason this kata seems to attract the largest number of people convinced that their solution is correct, and that the kata is wrong...

    @ckc2007 - please read all the discussions below in this section: there are hundreds of comments below yours where people have posted the exact same thing as you and helpful users have pointed out that the tests are correct.

    Whatever you are doing, it contains a mistake - the test solutions have been checked repeatedly for over 7 (!) years.

    On the 1-in-1,000,000 chance you have found something truly wrong, then you should paste your specific test input + which language you are working in, rather than making a generic comment that no-one can help you with.