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.
Adds one space character after the element unless its the last element. But this solution is invalid anyway. It doesn't return pairs but single Strings instead with the comma at the right place so it passes the tests which unfortunately make use of
Arrays.deepToString
instead of comparing the array contents directly.Hi, I undstand everyline but these
if(j != arr.length - 1)
a[i][0] += " ";
can anyone explain it ?