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.
exactly
This comment is hidden because it contains spoiler information about the solution
Use
print
to figure it out.That's what happens when you solve a kata but do not submit your solution. Just take someonea else's code and tweak it :-)
No, I don't agree.
Kyu level is set when approving, and actual difficulty sometimes varies, between kata and between languages. Trying to get it changed after approval, let alone trying to change the kata after thirty seven thousand solutions, generally is not happening.
I like your idea for a different kata though. Would you create that one?
Why should it be "something like a string" ? What's wrong with
-1
?Consistent return datatypes are A Good Thing™.
just because you're not used to this kind of stuff for now. ;)
Though, there are possibilities to make it a bit more readable (but more a story of tastes and colors, than anything...).