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.
{wheeze} I love solutions like this
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is anyone able to explain exactly how this works?!
I get the concept but my god XD
This comment is hidden because it contains spoiler information about the solution
5318008
Look at all the creatively stunted people downvoting you for being correct.
'The customer has asked for a painting of their cat'
'well I took a picture and saved some time'
'but they asked for a painting'
'but efficiency'
Lambda function, brilliantly written. Got it.
Yo, what? That's insane, what's the name of this... method? technique?
I came here to say this, in less polite terminology xD
I ended up just doing 4 lines instead of one, but this. This is why I do codewars. sorted & sort. Excellent
It's called Currying. Though getting it to perform recursively in Typescript is proving nigh impossible.
Goddamn you had me laughing so hard I had a coughing fit.
Amen.
It's doing a conversion to string, providing the base number you want it to be converted to/from.
In this case, providing base 2 means that it will be converted to binary. Similarly, base 8, 10 and 16 can also be used.
Base10 being standard numbering. I think.
Loading more items...