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.
Sorry, it's not a kata problem but a flaw in your code. Print the input to see what happens.
Can you prove this is an issue with the tests and not your own code? The submission tests are broader than the sample tests. It seems more likely that your code isn't handling one of the submission tests properly -- check the provided input by
print
ing it to the console.This comment is hidden because it contains spoiler information about the solution