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.
Seems better. Regarding specific input/output types, it could be acceptable to add an extra line for each language (for example, "Java: return a List of longs"), or simply rely on user to find it out by looking at the function signature (initial code). Both are acceptable, I think.
Thank you for this request. Descrition is rewritten without the Java specific terms.
Thank you for pointing out this issue. I completely agree. Change is made in the Kata description and in the code too.
Thanks again. I am going to use non-negative instead of positive or null.
The current description is very java-specific. It should be rewritten in more general language, so it could be translated to other languages (without having to duplicate the description), if it were to be approved.
and
In finding out the combinations, order doesn't matter, so
[0, 1]
and[1, 0]
would be considered as same combination as they consist of same elements. What you should use is permutations, where order does matters.