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 fixed
Small issue: The "3" in the title is irrelevant and should be removed.
thanks for feedback, i fixed
Issues:
solution
in example tests and in submission tests.Borderline issues:
Suggestions/improvements:
Testing for: 0 (heiyqa)
could be improved: the0
is confusing (how is the 0 tested?), and the string should be quoted.random.choice
called in a loop can be replaced with a single call torandom.choices
.Hi, thanks, I fixed it
Why is the return value of empty input
None
and not(0, 0)
? This does not make any sense: empty input is a valid input.I fixed it
Your "notes" are "rules", and many of these are not enforced.
Hi again, thanks for the advice
Hi again,
If you're interested in authoring kata, you should read the docs about that first. So far, your kata are technically good, but you most likely won't get this kind of task approved: this is way too much classic and there are already loads of kata like this. See the idea section, for instance.
Cheers
Hi, thanks for the answer, I fixed it
Hi,
"abcded" -> 2
, making clear that it's not the index of the second occurrence that is wanted (one might miss the info when jumping to the examples directly)Cheers
min_repeating_character_difference(text)
in description)The "difference between the indices of these symbols" as applied to the input string "aa" is not 0, but 1. The index of the first "a" is 0, and the index of the second "a" is 1. The difference between 1 and 0 is 1, not 0.
hello again, random tests have been added
Loading more items...