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.
I solved the problem because some of the changes I have on my computer have not been updated to my browser in time. I will look at the link when I have solved the problem.
Could you try pasting your code again using ``` before and after your code in a separate line? See the link I posted above. Otherwise it lose indentation and some other things.I've copied/pasted your code but it gave me an error because something was lost without formatting.
WeightSort.orderWeight("2000 103 123 4444 99");
I compiled it in eclipse and it turned out to be correct.
2000 103 123 4444 99
You're welcome.
Thank you
The brackets show the difference, the expected value has
2000
and your returned value hasn't that.Mark your post as having spoiler content when pasting code like that and to increase the readability of comments or descriptions, see this page in the github wiki.
This comment is hidden because it contains spoiler information about the solution