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.
OH!
This comment is hidden because it contains spoiler information about the solution
It does not necessarily and it is risky to assume so. They are returned in insertion order.
[Edit: to be precise, I did not found any insurance that going that way - with the constructor - will keep the insertion order]
Totally agree, it'll help people understand and look into it when things aren't working as expected. Thanks again for this and have a good week.
Yeah agreed. I still think people will get the idea.
Thanks for the explanation. I understand sorting via unicode values, the issue I'm having is with the kata description being unclear. If you're sorting via unicode values state it in the Kata, if you're sorting alphabetically it shouldn't matter on the implementation of the language or engine being used, it should be sorted alphabetically. BTC coming before bitcoin isn't alphabetical sorting.
In my understanding case sensitive means to handle cases so that the sort is alphabetical.
Yeah, guess you could read it that way. Either people get it first time or struggle and learn. I'm happy with it.
To the moon!
Capital letters go before lowercase. That's why
BTC
goes beforeBitcoin
.This comment is hidden because it contains spoiler information about the solution
Your code is wrong, tests are fine. Read the description :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution