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.
Done.
Please, solve and downvote this kata to retire it. The author is long gone, and fixing it isn't worth it (it is a duplicate of this one).
This comment is hidden because it contains spoiler information about the solution
more sample test, and the test you gave is wrong
more sample test to know whether the code is working?
more testcases
This comment is hidden because it contains spoiler information about the solution
I strongly recommand that you unpublish this kata and create something more useful/original.
You might want to review here how to write your first kata that doesn't suck. :)
https://github.com/Codewars/codewars.com/wiki/tutorial-create-first-kata