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.
You need a more efficient solution!
This comment is hidden because it contains spoiler information about the solution
Hi. Sorry but this is not kata issue (I mean, nobody can do anything with it here, this has no relation with the kata). A better place to ask for assistance would be to ask for help in Codewars Discord channel (see link on left panel). There you'll find active and competent users that may try to understand the issue and fix it if possible.
You need to return the result, not print it.
Please use a spoiler flag when you post hints to a solution.
You could as well have posted your code here.
Please refer to the documentation where you may find some help and general informations: https://docs.codewars.com/training/troubleshooting/