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.
Strings are easy to understand and almost always the same in all programing languages.
It also helps teach people how to split a string and convert it to the correct type.
To be fair, I made this kata so long ago that I don't remember the exact reasons, but it has definitely been good for the above mentioned reasons.
Nice kata to solve but why does the input have to be a string? Is there a specific reason?