You are viewing a single comment's thread. Return to all comments →
public static long aVeryBigSum(List<Long> ar) { // Write your code here return ar.stream().reduce(Long.valueOf(0) ,Long::sum); }
Seems like cookies are disabled on this browser, please enable them to open this website
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →