just wondering why this can happen, thanks: Test Failed "[Phi]l" was not equal to "[al]l"
Test Failed "[Phi]l" was not equal to "[al]l"
It's supposed to sort it in descending order, so 1021 sorted descending is 2110. Think of it as [1, 0, 2, 1], and you need to sort it descendingly.
I've already published the fix, it's waiting for approval. https://www.codewars.com/kumite/5b71533868cb2eaec8000077?sel=5d79128e091c5e00193915c9 Or maybe I'll edit the kata directly later...
Loading collection data...
just wondering why this can happen, thanks:
Test Failed "[Phi]l" was not equal to "[al]l"
It's supposed to sort it in descending order, so 1021 sorted descending is 2110. Think of it as [1, 0, 2, 1], and you need to sort it descendingly.
I've already published the fix, it's waiting for approval.
https://www.codewars.com/kumite/5b71533868cb2eaec8000077?sel=5d79128e091c5e00193915c9
Or maybe I'll edit the kata directly later...