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.
+rep
from cursory googling, the integer.sum method only accepts two numbers as parameters. How does this work with the stream function?
Does this code allow to check if the array is empty or not? E.g., when it contains neither element...
Awsome code for me as Beginner. I like it. i Hope i can remeber the Arrays.stream looks much better then the standart for loop like i have
In input conditions is a mistake!
You are right. I did not know. I will be carefull next time.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
I wrote the same code but it didnt work. Why?