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.
Not to mention the performance characteristics on finite lists.
O(n)
is possible, why vote anO(n log n)
solution Best Practice?haha wow, solid and suprisingly readable
i'm not french either, but it's an adapted term for admitting defeat, sure to be in the OED
ah, I'm English, not French ;p
it's French. when a fencing opponent gets you with their épée, you admit their success
touché
@Lurvetti i did a golfed version of this, just for fun
@Steffan153 can you beat it? ;)
Awsome, thanks!
Yes.
'b' * True
is'b'
because the integer ofTrue
is 1.And
not 0
isTrue
because the boolean of0
is False, and revert that is True.So, this means that a (variable times True) = (variable) and that (not 0) = (True)?
That's actually pretty clever.
This is great! :D
Heh, I don't think I can get it any smaller than that in JS!