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.
one line ... art to me...
Dude this is clever and succinct but what's with all the single char variable names? We got minifiers for that kinda thing you know ;-D
Brilliant!
Only that you added a potential bug by returning the same array if it's empty. ;)
my pleasure.
Check it out: https://www.codewars.com/kata/reviews/59c70207db5fba8af1001a4d/groups/59ddf3eb397858f3d2001013
Thanks again.
I will fix it. Thank you!
if the test case is: [1,-1,-1,-1,2,-2,2],
it should be false,
but your answer will be true.
haha
almost the same with mine lol.
the \B!
i like the solution, so after i saw this, i try again. fortunately, i complete too!
inspire me a lot!
so good!
damn good!
Loading more items...