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.
.
Thank you
.sort(fn(a,b))
fn
is> 0
,a
is sorted afterb
< 0
,a
is sorted beforeb
== 0
, the order is dependent on the implementation and may or may not be stableI was wrong. I should have completed the tests i was running from the start instead of sticking with the defaults ones instead of blaming automated tests.
No, why?
This comment is hidden because it contains spoiler information about the solution
I am pretty sure the automated tests for this kata have errors.