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.
Not in the string, as a string.
Test case input : "210 202 114 132 116 710 414 36 342 352 118 362 246 76 418 238 176 276 474"
Expected test case output: "210 202 114 132 116 710 342 36 414 118 352 362 246 238 418 76 176 276 474 378 774 388 578 "
The instruction says that the numbers with the same weight are ranked by which number comes first in the string so in that way the rank should be 414 should preceed 36 and 342. I believe there is something wrong with either the test cases or the instructions provided. If the instructions are correct then the output should be
210 202 114 132 116 710 414 36 342 352 118 362 246 76 418 238 176 276 474