A Very Big Sum

  • + 6 comments
    //in Java-8
        static long aVeryBigSum(long[] ar) {
           return LongStream.of(ar).sum();
        }