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 kata WAS meant to be solved using functional programming.
OP passed the kata, closing.
This comment is hidden because it contains spoiler information about the solution
thanks for breaking it down, it really helped me to understand
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.
Loading more items...