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.
what the devil did you make a deal with? Send me his mail pojalusta))))
No. 11 comes before 2000 as a string (or alphabetically).
orderWeight("2000 10003 1234000 44444444 9999 11 11 22 123")
Expected: '11 11 2000 10003 22 123 1234000 44444444 9999'
Actual : '2000 11 11 10003 22 123 1234000 44444444 9999'
Shouldn't the Actual be correct?
Ordinary rules for comparing strings ie "alphabetically" though they are formed of digits. You could read some comments below.
ok, then can u explain - what's the rule of string comparison please?
It is a question, not an issue.
can anyone explain why 80 is before 8 or 50 before 5(for example) according to random tests? I can't understand - what's the rule of string comparison...
I
Dont
Understand
How
It
Works
((((((((((
No, that's not normal. You should not modify the input.
is it normal?? snail([[4,5,6],[7,8,9]]) - Expected: '[1, 2, 3, 6, 9, 8, 7, 4, 5]'
Why it's 5kyu?? It's so simple....