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.
What I did............
pure code
hell no! this func called sortByLength.
If you mean like callback function - yes it is anonymous
Amazing
Thing is you should be aware if you CAN or CAN'T change the original array. As a good practice we always copy the original to another before doing any changes, but there will always be situations where you don't need to do that.
does it anonymous function?
codewars need to block this solution
WoW! use Reg to solve this kata. cool
Probably a few hours, but it was a long time ago, so I really don't remember.
How much time have you spent on that? Have you went to the solution by yourself or tried to find these laws?
@compoterguy103
And you're absolutely rignt 'You need to design a recursive function called replicate'
This isn't recursive though...
Ok, thanks.
Use spoiler flag please.
This comment is hidden because it contains spoiler information about the solution