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.
Hmmm I have an O(1) solution, but the numbers get really big before I can convert to int and perform the modulo operation ...
any suggestions?
is mispelled(n) misspelled on purpose? :)
I also don't agree with the last example test.
[46, 78, 574, '287', '3', '423', '69', 'Apple', 'Grape', 'Peach'] should equal [46, 78, 574, '3', '69', '287', '423', 'Apple', 'Grape', 'Peach']
When sorting '287' comes before '3' alphabetically.
It says specifically to treat numbers in string format as strings.