there is a problem when the table is null.
+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!
Do note that with the list comprehension needing to build an entire list before returning the first element, this code would need to parse the entire input list even if it detects the problem element early on.
lol
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?
lalka
looooool
Loading collection data...
there is a problem when the table is null.
+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!
Do note that with the list comprehension needing to build an entire list before returning the first element, this code would need to parse the entire input list even if it detects the problem element early on.
lol
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?
lalka
looooool
lol
Loading more items...