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.
I'm also having trouble with getting my code to pass the final test when I try to submit my code, even though it passes the sample tests, and these seemingly want the same results - I may be mistaken in assuming these are probably the same test cases repeated, but if not I really don't know what is going wrong!
yes, sorry I didn't specify!
There seems to be a discrepancy between the test cases and the description. It says the array will be of only positive integers, but one of the test cases includes a negative number, so if you write a simple solution expecting only positive ingegers it fails. I think the description or the tests need to be updated to make this consistent