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.
Fixed.
Input range values for
n
should be given in the description.Returning 0 takes 11s...
random tests are subject to crafty exploitation and cheesy manipulation by the user
Sorry, fixed it.
=> import codewars_test as test
You are a real genius!
I went ahead and approved the translation and implemented your suggested changes, in order to avoid merge conflicts later on.
Oh yeah, this message was meant for the author. Other users can only approve after a courtesy period has passed. Thanks for checking.
I have tried but got the message :
please approve JS translation (see above) before changing kata description and resolving this suggestion
dir
is shadowing a built-in.In the random tests and for
n = 25439
, I got :I learned something new. Thanks!
Please use appropriate datatypes. String is very rarely an appropriate datatype, and it isn't here either.
Loading more items...