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.
It's not intended to be understood. Readable code would be
And there you see why it was written unreadably - it's shorter. Note that
acc[val]
may beundefined
.Neat and clever
What is the use of having plus sign in the year function?
This is the first time for me to recognize that concat() method can take more than one array as it's parameters!
It's hard to have test cases because it depends on random values.
just skip the test code step and try the attempt option directly
This comment is hidden because it contains spoiler information about the solution
Yeah same question,I would like to hear explanation
This comment is hidden because it contains spoiler information about the solution
Good job!