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.
I laughed (and, tbh, it still deserves the Best Practice vote XD )
Man I'm surprised that someone actually replied to a 6 year old solution from when I was trolling around on Codewars :)
Aren't you supposed to implement this method on your own?
Hi,
I made similar solution, but instead of 'n' as number of rotation, I made n%data.lenght.
As a beginner my question is- does pefrormance improve in that situation? Program does not to f.e 12004 rotations, but has to make a division and get rest of that.
I'd prefer using static methods or a constructor to pass the value as the default constructor looks useless in this case.
Yup, that's why I'm asking and in order to improve this Kata enough to get it published.
JavaScript translation available. Please review and approve. I clarified the description and added more test cases, to include random tests.
The test cases are much simpler- no spaces and no ASCII characters.
Needs random tests
Resolving this so it's more about random tests
It's already there
It's already there
It's already there
It's already there
Loading more items...