You need to sign in or sign up before continuing.×
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.
Apart from the input validation, the kata is nothing more than a very basic language construct. This does not really make for an interesting kata.
This is not an issue, just probably another reason for the downvotes.
No random tests.
Spare us the input validation.
Duplicate of katas like https://www.codewars.com/kata/546dba39fa8da224e8000467 or https://www.codewars.com/kata/578bf2d8daa01a4ee8000046
No random test cases.
In your kata's description you state: "If a character occurs only once, it should not be followed by a count.". I get the following results however: