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 fork it (The button on top right) and then you can run it.
I see it passed the tests but can't get it to work on the console in CodePen.
How do I run it?
Thanks
cool
HandShake from me
The description says:
Same is happening in Kotlin, the instructions mention "-1 -1 -1" but the expected array lenght is 0.
Of course there's many programming languages and it's hard to explain what to return in each language. So in the description I read, that you had to return an integer array of {-1, -1, -1}, if v1 >= v2. But actually you need to return null. Because of that I got an error message:
When I looked at the kata test cases I understood my mistake.
Java