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.
This is a very bad kata.
The initial code does not compile and does not follow Java standards.
The question is purly mathematical and not a coding question.
Clever solution, but this will cause a lot of string concatination garbage.
The kata should describe the expected result in more detail. That null should be returned in case of an empty string is not documented. In addition the test case results in case of an error are unclear in that case.
This comment is hidden because it contains spoiler information about the solution