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.
Thanks, you're correct!
You're right. It's redundant. Thanks!
This comment is hidden because it contains spoiler information about the solution
Yes, you're absolutely right @JurgenBlitz. It's like an idiom, a shortcut. i need to incorporate it! Thanks for your comments!
This comment is hidden because it contains spoiler information about the solution
Great, you solved the kata! :-)
Thanks! I can solve my problem.
And again apologies for having marked issue that was a problem in my logic.
Here is the problem:
if (lowest == 0) {
lowest = numbers[i];
}
The numbers can also be 0! So this is a problem, because you are ignoring the number 0.
You should change the way you find the max and the min.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi. When I try to run suite, all the test results ok, but SumPositivesWithDoubleMax(SolutionTest): expected:<17> but was:<16>
Is this an error? I code the solution with Java. Thanks!