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.
This comment is hidden because it contains spoiler information about the solution
Well ofc yours is slower because sorting is O(n log n)
This comment is hidden because it contains spoiler information about the solution
This one is nuttier :-)
Thanks!
It's too quick. My regards!
LoL :D
Because the function may not work with arrays with 2 components. If an array have two components, they already are their maximum and minimum values, which invalidate the kata's request.
Don't know. It'll work this way as well, however when I was completing this kata I thought it was a good idea :)
You need to put "letter ==" in your 2nd logical expression (in front of the "X").
If you don't then it will practically means:
which language you used?