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.
good variable naming
Bump, 7 translations sitting there?!
What's the point to write in description "Assume that m is a positive integer." and test with negative integers in testFixed and testRandom then? (PHP language)
Everything works well right now. Thanks Steffan153 :)
There was a bug in the reference solution. It should be fixed now.
This comment is hidden because it contains spoiler information about the solution
it seems to me you can make your code better by refactor it with switch operator.
Oh, i didn't know about bugs. Steffan thank you for your reply :)
Well, that's a CW bug, and it is not new.
This comment is hidden because it contains spoiler information about the solution
PHP case is doubled in selection perhaps.
I mean you can choose this kata in PHP language twice from https://www.codewars.com/kata/latest/my-languages (two same icons on the list) and you can choose this kata twice from https://www.codewars.com/kata/5bd776533a7e2720c40000e5/train/php (selection box). I haven't found difference in katas, perhaps this is duplication.