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.
Yet another brilliant one-liner
Nice one liner lol
So great!!!!
the haha deserves 100 best practices minimum
This way is intuitive if you have the stomach to alter the concatenation template.
My one-liner managed to be just a smidge shorter though neither are really good practices.
I should go for these function equalities more
genius)
Here is our hero
Very clever use of short-circuit evaluation (&&). This makes sure that one never tries to access the array at the illegal argument (position) length(arr)+1. Great job.
seems the best practice is using O(n^2) instead of O(n) - leaving room for the future development :-)
Very clever
You have the same result wihtout the second line.
I wanted to see n when I wrote the code.
And why the second line?
Just had to set the recursion limit on a huge nomber and it worked for me :)
Loading more items...