Skip to main content
Module

x/simplestatistics/src/min_sorted.js

simple statistics for node & browser javascript
Latest
import * as simplestatistics from "https://deno.land/x/simplestatistics@v7.8.3/src/min_sorted.js";

Functions

The minimum is the lowest number in the array. With a sorted array, the first element in the array is always the smallest, so this calculation can be done in one step, or constant time.