import { sumSimple } from "https://deno.land/x/statistics@v0.1.1/src/sum_simple.ts";
The simple sum of an array is the result of adding all numbers together, starting from zero.
This runs on O(n)
, linear time in respect to the array
import { sumSimple } from "https://deno.land/x/statistics@v0.1.1/src/sum_simple.ts";
The simple sum of an array is the result of adding all numbers together, starting from zero.
This runs on O(n)
, linear time in respect to the array