So there are no 0 or negative values in the input?
Also, it's implied that the solution should be using streams but the normal approach is fine too. So the last part of the descriptions is not really a hint (but rather something that tries to enforce a specific kind of 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 will not return a list in python 3. I'm not sure about python 2.
This comment is hidden because it contains spoiler information about the solution
Trivial regex match and map/filter/reduce are not novel kata ideas.
Sleep tight
Good job!
Should been top solution! Usage of IntSummaryStatistics is the best choice here
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
So there are no
0
or negative values in the input?Also, it's implied that the solution should be using streams but the normal approach is fine too. So the last part of the descriptions is not really a hint (but rather something that tries to enforce a specific kind of solution).
Needs random tests
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
best I have seen so far
Loading more items...