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.
I'm very interested in an explaination of the |unit| fold here. The fold in large seem super powerful, but I can't really wrap my head around it.
When times is already sorted, why do you use max() and min() they must surely be slower than first() last() right?
All in all the solution is good, but some portions could be simplified, imho:
Clever, but the use of -1 from the return really makes me cringe. ;)
Can't understand why more people doesn't take the recursive route.
The exercise feels really made for it.