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.
This is sphagetti, please explain the essence of the algorithm if you want help.
(With spoiler flag ofcourse).
This comment is hidden because it contains spoiler information about the solution
That won't be of much help with arrays, try google with "printing an array in java"
System.out.println(input);
I don't see any issue. See my post above.
There actually is an issue with specification, see my post above.
I did not check other language versions, but the problem might be present also in other languages, or language version can be inconsistent when handling this aspect.
Sorry, if you don't pass it is because there is a flaw somewhere in your code... Print the inputs to see what happens.