Until this moment I thought my code is good. Damn you, kayakero!
Not unless the kata explicitly asks you to solve the problem without using this very method.
But that would really defeat the concept of doing the kata, wouldn't it?
IntStream has method avrerage(), so it should by solved by: Arrays.stream(i).average()
Loading collection data...
Until this moment I thought my code is good. Damn you, kayakero!
Not unless the kata explicitly asks you to solve the problem without using this very method.
But that would really defeat the concept of doing the kata, wouldn't it?
IntStream has method avrerage(), so it should by solved by: Arrays.stream(i).average()