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
Really clever! Maybe that's what the kata author expected to be done.
I had exactly the same idea, but done that a bit harder, thank you! ^_^
Ok. np))
Looks good now. But since the author has been active recently, it needs a week before I can approve it, sorry...
Fuck, i forgot. Fixed!
In the sample tests too.
done))
One more thing: in Java, the order in
assertEquals
isexpected, actual
, notactual, expected
. Once this is fixed, you also don't have toclone
the array.Job's done!
The reference solution should be private.
Added)
Needs random tests. JS and Python both have them, so you can base them off of JS or Python.
wp :)
> 0
is redundant in this case cuz zero converts to false and any positive numbers converts to trueLoading more items...