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.
Kata description isn't clear. I wasn't expecting an array as an input.
Thank You!
I have actully changed PHP version in my IDE settings, but I haven't changed my php config file. Nevertheless, it would be nice if newer PHP versions were supported.
The following code doesn't work properly:
$s[-1]. I can't access string character by using negative index. I have checked it on my PHPStorm, on old PHP versions (5.4, 7.0) and it works correctly.
System.out.print won't pass the test, it has to be System.out.println. I think both options are viable.
It would be nice to add some info in the description, that we should round up our result, when it has some decimal places.