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.
No need to replace zeroes by zeroes ;)
Yes, I got some troubles with it too.
On the output formatting paragraph, it says :
"The two subarrays are sorted in ascending order by their number weights if these weights are different, BY THEIR INDEXES IN THE STRING IF THEY HAVE THE SAME WEIGHTS."
The uppercase part of the paragraph is a lie.
The only sort you have to follow is the one on the weights.
Thank you, I just lost 30 minutes wondering why my solution wasn't working.
You don't really need those parenthesis (just a little optimisation ^^)
This comment is hidden because it contains spoiler information about the solution