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.
his solution is good to use after you check that array is valid
Нормальная ката, для 8 kyu самое оно, то что надо
mine checks for everything ofcours we need sort
You sort old array, then create new one. For what? This solution is too slow on large inputed arrays.
too much letters
Wow!
difficult to read
Holy code!
array?.length>2 yes
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
nicely done
This comment is hidden because it contains spoiler information about the solution
I just timed different answers and yours is way faster ! Very instructive, thanks.
Loading more items...