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.
I see... Thanks. I'll try that!
Update: I got it! Your tip definitely helped!
Thank you!
You're applying sort twice, and that's the problem (the final result is the same as chaining two sorts as I wrote before). Make a single sort callback function.
Probably your sorting is wrong as sort isn't stable in javascript and in some environment gives one result and in another environment you get another result when applied twice with different callback functions. Don't chain two sorts.
I am having a similar problem. Locally my solution seems to work. I get the tests to pass but on the web the results come slighty differently. Any hint? I'll post my code as a spoiler in the next comment if somebody can comment, it would be very much appreciated.
Yeah, clear now, thanks! Now I cannot delete this stupid solution, while I could the previous one. I cannot see any Remove and Edit button. How come?
Please don't post solutions in discourse tab, that's what
solutions
tab is for. And as you probably figured out already, your previous solution was indeed too slow, and also incorrect :PIn future, please format your code properly when posting code blocks.
this is also an answer: [559756, 893250]
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution