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.
.
Fixed.
Nice One!!!
This comment is hidden because it contains spoiler information about the solution
Very nice kata!
In Scala, definition name inside the Writer companion object should be changed to writerMonad.
Finding the minimum and maximum element in an array has O(n) time complexity, whereas sorting the input takes O(n log(n)). So yes, it will be noticeably faster for larger arrays.
B-but what if I've drunk 11 beers?
Couldn't figure it out for quite some time, but after I've finally done this, I feel relieved.
(that has nothing to do with unicode, here)
check information about .sort() and Unicode, that's important/
C++ translation
Don't worry, no one expects it. JS sort surprises everyone.
You're right. Sorry for the confusion. I'm relatively new to JS and I didn't expect such behaviour.
Loading more items...