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.
You should use fold instead of reduce. Because if the array is empty then reduce method will give error.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you for the opportunity, but have no room ATM.
Thanks Nick, would you like to work togerther on a project?
This is the method of java.util.stream.IntStream
So what object is calling sum(). becuase sum() is not a method in Arrays, and I can't find it in the methods in Stream.
I failed to realize too facepalm. My degree is crying right now LMAO
This comment is hidden because it contains spoiler information about the solution
I don't understand how this is possible, when results are rounded to 2 digits. Do you mean sample tests? I'not applying rounding there because they are too basic.
Expected should be:
Issue above ^
Prolog random tests:
Welp, I feel like an idiot.
Loading more items...