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 agree this should be explained in the kata better. Knowing this helped me solve this much faster.
@squirrelpatrick it can be fixed if you can show how this is. However, it is far more likely a problem with your code.
I was trying this in Haskell, my function doesn't pass the Haskell test suite but the python version works. I think something is up with the Haskell test suite.
IMO In kotlin it's best practice to use
This comment is hidden because it contains spoiler information about the solution
Have you tested your code with -1?
This comment is hidden because it contains spoiler information about the solution