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.
Just do what is fast in your particular language. Order of elements within a combination by definition does not matter.
I thought that give up meant I was supposed to use fold!
Haha, now that really sent me barking down the wrong alley...
We all did those
Made me laugh!
This comment is hidden because it contains spoiler information about the solution
You probably have the right idea. Don't give up. Give it some time; it may come to you how to make it shorter.
That is a myjinxin quote which is not really appropriate here.
Yes, there is a way to do it shorter than using
replicate
. Laziness or trickery are not required; it's fairly straightforward actually.