Skip to main content
Module

x/simplestatistics/src/unique_count_sorted.js

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

Functions

For a sorted input, counting the number of unique values is possible in constant time and constant memory. This is a simple implementation of the algorithm.