Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Your code fails for string "16" (you're returning true).
Please use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting/#post-discourse
Your solution is incorrect and your local tests are incorrect/incomplete.
Not a kata issue.
Ok I get it.
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time, your posts here are visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
No, your code is returning an array (and it's not doing what the kata asks either), that's wrong. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution