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.
That may be ironic, but it misses the point.
Most of the 2000 completions of this kata are in Python. Not impossible.
This comment is hidden because it contains spoiler information about the solution
use spoiler
Apologies, but can you please explain what is difficult to understand?
I'm pretty sure this code was written in Python 2, that's probably why.
use spoiler flag when showing code (I have added the flag)
you almost wrote a haiku just now
not if you don't know it's a loop
no random tests
If this is supposed to be the meaning of the kata, it is not tested.
Also, if this is so important, one would think this should also be tested.
Without these conditions, this kata would otherwise appear to be a duplicate. Although I don't have time to search for it, I remember a kata with an array of values meant to be handled based on an array of indices.
why not?
C Translation (author inactive).
nice
Loading more items...