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.
Yes i am cianging the values in input array. its long [] array. Its simple swap, thats allowed in java as far as I understand. Or Is this the requirement of the kata not specifically java.
new long[] {1,2,9,-4,-2,-6 }) so for this my code would do in place swap on the array and produce new long[] {-6,-2,-4,9,2,1 }, why would this be wrong.
You should read these instructions too ;)
This comment is hidden because it contains spoiler information about the solution
Oh, thanks alot
no, because
36
is a square itselfI don't get it, shouldn't 36 be an Achilles, 2^2 * 3^2 ?