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.
слава богу нейросети, что исправила ошибки написанные моими клешнями
Seems that this solution can't be used like a common solution, see tests here http://stackoverflow.com/a/34466248/3429127.
That means that you should avoid usage of ">" and "<" in comparator.
Just want to notice that JS native sort method affects on initial array.
If we want that list argument stays the same we need to make a copy of it inside the function (e. g. using slice()).
nice, I missed information about two dimensional space.
I saw it in a few different kata's solutions. I had the same question.. Correct one is to use substraction.
Came here to ask the same question.
This returns a boolean, which I would guess complies only with returning the 1 or the 0?
How exactly does this solution work?
好机智!
actually you can group all the empty functions into one line. That's what I did :p