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.
no way
This comment is hidden because it contains spoiler information about the solution
Wow
It just works.
same to me
thanks for the advice, noted and way easier and more effective
lool, I didn't know you can do that.
Don't need the
break
afterreturn
;)same here, much underrated kata imho
(probably should have been 6kyu instead of 7kyu - that way satisfaction score would have been higher)
Jeezz I've been on this problem for hours and to see this is depressingly inspiring... weird.
Ah, crap. I tried a similar solution, but screwed up the order of operands for
%
, didn't catch my mistake, and abandoned that train of thought...How is mutating the input a best practice?
I've fixed it, thanks
Your random tests generates
0
fora
orb
some of the time.Checking numbers divisible by
0
is an undefined operation.I've fixed, thanks a lot
Loading more items...